]> git.stg.codes - ssmd.git/blobdiff - include/settings.inl.h
Fix build on osx.
[ssmd.git] / include / settings.inl.h
index 1c771ced8dc42b2df16d6402d6f5f96f85d1dc8d..c93e40b78dda4db08961814c7eb7ca7dd0f04179 100644 (file)
@@ -1,10 +1,10 @@
-#ifndef __GTS_SETTINGS_INL_H__
-#define __GTS_SETTINGS_INL_H__
+#ifndef __SSMD_SETTINGS_INL_H__
+#define __SSMD_SETTINGS_INL_H__
 
 #include <iostream>
 #include <sstream>
 
-namespace GTS {
+namespace SSMD {
 
 inline
 Settings::Settings()
@@ -20,7 +20,7 @@ Settings::Settings()
       _upProfileId(1),
       _downProfileId(2),
       _maxACLPerPDU(50),
-      _dataURL()
+      _dumpScripts(false)
 {
 }
 
@@ -38,7 +38,9 @@ Settings::Settings(const Settings & rvalue)
       _upProfileId(rvalue._upProfileId),
       _downProfileId(rvalue._downProfileId),
       _maxACLPerPDU(rvalue._maxACLPerPDU),
-      _dataURL(rvalue._dataURL)
+      _dataURL(rvalue._dataURL),
+      _scriptBase(rvalue._scriptBase),
+      _dumpScripts(rvalue._dumpScripts)
 {
 }
 
@@ -48,7 +50,7 @@ Settings::~Settings()
 }
 
 inline
-const Settings & Settings::operator=(const Settings & rvalue)
+Settings & Settings::operator=(const Settings & rvalue)
 {
     _isHelp = rvalue._isHelp;
     _isVersion = rvalue._isVersion;
@@ -63,6 +65,8 @@ const Settings & Settings::operator=(const Settings & rvalue)
     _downProfileId = rvalue._downProfileId;
     _maxACLPerPDU = rvalue._maxACLPerPDU;
     _dataURL = rvalue._dataURL;
+    _scriptBase = rvalue._scriptBase;
+    _dumpScripts = rvalue._dumpScripts;
     return *this;
 }