aboutsummaryrefslogtreecommitdiffstats
path: root/Utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utils.h')
-rwxr-xr-x[-rw-r--r--]Utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Utils.h b/Utils.h
index 8d6a3ab0..1411f66b 100644..100755
--- a/Utils.h
+++ b/Utils.h
@@ -45,5 +45,11 @@ inline void solAssertAux(bool _condition, std::string const& _errorDescription,
<< ::boost::throw_line(_line));
}
+inline void solAssertAux(void const* _pointer, std::string const& _errorDescription, unsigned _line,
+ char const* _file, char const* _function)
+{
+ solAssertAux(_pointer != nullptr, _errorDescription, _line, _file, _function);
+}
+
}
}