]> git.stg.codes - stg.git/blobdiff - stglibs/dotconfpp.lib/include/stg/dotconfpp.h
Settings object is now allocated on stack, no need to delete it.
[stg.git] / stglibs / dotconfpp.lib / include / stg / dotconfpp.h
index 8c2a82ade7fe9c55cc76d51daf89d9896a594046..930750135ac6bb9fbb84a0421335fd6dd05a64b7 100644 (file)
@@ -110,7 +110,7 @@ public:
     DOTCONFDocument(CaseSensitive caseSensitivity = CASESENSITIVE);
     virtual ~DOTCONFDocument();
 
-    void setErrorCallback(DOTCONFCallback _callback, void * _data) { errorCallback = _callback; errorCallbackData = _data; };
+    void setErrorCallback(DOTCONFCallback _callback, void * _data) { errorCallback = _callback; errorCallbackData = _data; }
 
     int setContent(const char * _fileName);