]> git.lyx.org Git - features.git/blobdiff - src/support/LAssert.h
fix double space editing, small change to make Path more foolproof, dont use reserve...
[features.git] / src / support / LAssert.h
index 20be3713c55e4e12b6870a0b1dcbc2ff7c5ee995..e429df8c11cf99ad5e82ea59f1d47c6aacfb434d 100644 (file)
@@ -18,6 +18,10 @@ template<class A> inline void Assert(A assertion)
 #ifdef HAVE_PARTIAL_SPECIALIZATION
 // Not too sure if this is the correct way to specialize
 template<class A> inline void Assert(A * ptr)
+{
+       Assert<void const *>(ptr);
+}
+template<> inline void Assert(void const * ptr)
 {
        if (!ptr) {
                abort();