Commit 70dbec71 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[FIX] fixed use of not existent preprocessor directive

parent b47c6a03
......@@ -30,7 +30,7 @@
// or any files included from there
#ifdef WASSERT_AS_CASSERT
#define WASSERT_FLAG_CHANGED
#undefine WASSERT_AS_CASSERT
#undef WASSERT_AS_CASSERT
#endif
#include <string>
......@@ -2486,7 +2486,7 @@ public:
// restore WASSERT_AS_CASSERT flag
#ifdef WASSERT_FLAG_CHANGED
#define WASSERT_AS_CASSERT
#undefine WASSERT_FLAG_CHANGED
#undef WASSERT_FLAG_CHANGED
#endif
#endif // WTENSORBASE_TEST_H
......@@ -194,7 +194,7 @@ public:
// unset the WASSERT_AS_CASSERT flag (just in case), so WAssert throws a WException
#ifdef WASSERT_AS_CASSERT
#define WASSERT_FLAG_CHANGED
#undefine WASSERT_AS_CASSERT
#undef WASSERT_AS_CASSERT
#endif
/**
* Providing a zero-Pointer as function should cause an exception.
......@@ -216,7 +216,7 @@ public:
// restore WASSERT_AS_CASSERT flag
#ifdef WASSERT_FLAG_CHANGED
#define WASSERT_AS_CASSERT
#undefine WASSERT_FLAG_CHANGED
#undef WASSERT_FLAG_CHANGED
#endif
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment