]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/textureentry.h
radiant: replace StringBuffer with std::string
[xonotic/netradiant.git] / radiant / textureentry.h
index d36aff6b36dc97be59cabd784c89bceb1ebb2867..ed2f9f5aee6d58ed4786645c98cd7d4cee5136eb 100644 (file)
@@ -35,7 +35,7 @@ class EntryCompletion {
     ui::ListStore m_store;
     IdleDraw m_idleUpdate;
 public:
-    EntryCompletion() : m_store(0), m_idleUpdate(UpdateCaller(*this))
+    EntryCompletion() : m_store(ui::null), m_idleUpdate(UpdateCaller(*this))
     {
     }
 
@@ -43,7 +43,7 @@ public:
 
     void append(const char *string);
 
-    using AppendCaller = MemberCaller1<EntryCompletion, const char *, &EntryCompletion::append>;
+    using AppendCaller = MemberCaller<EntryCompletion, void(const char *), &EntryCompletion::append>;
 
     void fill();
 
@@ -51,7 +51,7 @@ public:
 
     void update();
 
-    using UpdateCaller = MemberCaller<EntryCompletion, &EntryCompletion::update>;
+    using UpdateCaller = MemberCaller<EntryCompletion, void(), &EntryCompletion::update>;
 };
 
 class TextureNameList {