summaryrefslogtreecommitdiff
path: root/include/configreader.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-10-13 19:07:44 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-10-13 19:07:44 +0200
commit9bb839b6a2873a366ac8685c3c8846b6837f85ca (patch)
tree34b4fdfa7ba3419081089790d1665c5abc249719 /include/configreader.h
parent44542c1f1acabbf00f8f468f3bb837c5a8b2736e (diff)
parent6935ce2956fed99d5484da90e614b7126e5275d3 (diff)
Merge pull request #933 from SaberUK/insp20+fix-llvm34
Fix various warnings when building with LLVM 3.5.
Diffstat (limited to 'include/configreader.h')
-rw-r--r--include/configreader.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 1edacfe13..b01a979a7 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -197,6 +197,9 @@ class CoreExport ServerConfig
ConfigTagList ConfTags(const std::string& tag);
+ /** An empty configuration tag. */
+ ConfigTag* EmptyTag;
+
/** Error stream, contains error output from any failed configuration parsing.
*/
std::stringstream errstr;
@@ -527,6 +530,8 @@ class CoreExport ServerConfig
*/
ServerConfig();
+ ~ServerConfig();
+
/** Get server ID as string with required leading zeroes
*/
const std::string& GetSID();