src/config.cpp

changeset 463
22bdcca9f78d
parent 462
55173a35eea5
child 464
3779a14d597c
--- a/src/config.cpp	Tue Aug 20 14:56:26 2013 +0300
+++ b/src/config.cpp	Tue Aug 20 15:01:16 2013 +0300
@@ -44,6 +44,12 @@
 #endif // PORTABLE
 }
 
+Config::Config (const char* name, const char* defstring) :
+	name (name), m_defstring (defstring)
+{
+	assert (getType() != None);
+}
+
 // =============================================================================
 // -----------------------------------------------------------------------------
 // Load the configuration from file

mercurial