aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
diff options
context:
space:
mode:
authorVicente <unknown>2017-03-06 14:54:51 +1100
committerVicente <unknown>2017-03-06 14:54:51 +1100
commit069d842392251d56167e08c005d51fa9ccc12147 (patch)
tree51d5396606bffade50d291781d5227cc404cd87d /gtk
parent41c0c0f7083c0ddde020cf847cddef7894f2ded4 (diff)
downloadscintilla-mirror-069d842392251d56167e08c005d51fa9ccc12147.tar.gz
Use several C++11 features as examples so problems with these features are seen.
Features used are move constructor, unique_ptr, deleted functions, enum class, lambda expression, and range for loop.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/ScintillaGTK.cxx1
-rw-r--r--gtk/ScintillaGTKAccessible.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index a9335e14e..35622bc02 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -17,6 +17,7 @@
#include <vector>
#include <map>
#include <algorithm>
+#include <memory>
#include <glib.h>
#include <gmodule.h>
diff --git a/gtk/ScintillaGTKAccessible.cxx b/gtk/ScintillaGTKAccessible.cxx
index 1c2ed88ff..4fcfcda99 100644
--- a/gtk/ScintillaGTKAccessible.cxx
+++ b/gtk/ScintillaGTKAccessible.cxx
@@ -60,6 +60,7 @@
#include <vector>
#include <map>
#include <algorithm>
+#include <memory>
#include <glib.h>
#include <gtk/gtk.h>