X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/261442af210d652fc2c8a3d9197097982701bd16..afcbfd1a09e22ff4839ba5db42047c96f355506c:/stglibs/dotconfpp.lib/include/stg/dotconfpp.h diff --git a/stglibs/dotconfpp.lib/include/stg/dotconfpp.h b/stglibs/dotconfpp.lib/include/stg/dotconfpp.h index 8c2a82ad..63cd7eb3 100644 --- a/stglibs/dotconfpp.lib/include/stg/dotconfpp.h +++ b/stglibs/dotconfpp.lib/include/stg/dotconfpp.h @@ -107,10 +107,10 @@ protected: virtual void error(int lineNum, const char * fileName, const char * fmt, ...); public: - DOTCONFDocument(CaseSensitive caseSensitivity = CASESENSITIVE); + explicit 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);