Author: sytyi
Date: Tue Aug 23 20:42:08 2011
New Revision: 50897
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50897&view=rev
Log:
removed unused no-arg constructor
Modified:
trunk/src/serialization/schema_validator.cpp
trunk/src/serialization/schema_validator.hpp
Modified: trunk/src/serialization/schema_validator.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/serialization/schema_validator.cpp?rev=50897&r1=50896&r2=50897&view=diff
==============================================================================
--- trunk/src/serialization/schema_validator.cpp (original)
+++ trunk/src/serialization/schema_validator.cpp Tue Aug 23 20:42:08 2011
@@ -104,25 +104,7 @@
print_output (ss.str (),flag_exception);
}
-#ifdef _MSC_VER
-#pragma warning(push)
-#pragma warning(disable:4702)
-#endif
-schema_validator::schema_validator()
- : config_read_(false)
- , create_exceptions_(strict_validation_enabled)
- , root_()
- , stack_()
- , counter_()
- , cache_()
- , types_()
-{
- ERR_VL << "No schema file\n";
- throw abstract_validator::error("No schema file\n");
-}
-#ifdef _MSC_VER
-#pragma warning(pop)
-#endif
+
schema_validator::~schema_validator(){}
Modified: trunk/src/serialization/schema_validator.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/serialization/schema_validator.hpp?rev=50897&r1=50896&r2=50897&view=diff
==============================================================================
--- trunk/src/serialization/schema_validator.hpp (original)
+++ trunk/src/serialization/schema_validator.hpp Tue Aug 23 20:42:08 2011
@@ -52,7 +52,6 @@
int start_line,
const std::string
&file);
private:
- schema_validator();
// types section
// Just some magic to ensure zero initialization.
struct counter{
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits