Browse Source

initialize dataChanged variables in SettingsData base class

jp9000 12 years ago
parent
commit
40f922ca37
1 changed files with 1 additions and 0 deletions
  1. 1 0
      obs/settings.hpp

+ 1 - 0
obs/settings.hpp

@@ -24,6 +24,7 @@ protected:
 	bool dataChanged;
 
 public:
+	inline SettingsData() : dataChanged(false) {}
 	virtual void Apply()=0;
 
 	inline bool DataChanged() const {return dataChanged;}