Commit 033c7478 authored by Davis King's avatar Davis King

Changed the code to suppress a potential compiler warning.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402658
parent 1a084013
...@@ -103,7 +103,7 @@ namespace dlib ...@@ -103,7 +103,7 @@ namespace dlib
} }
}; };
struct dummy_base { virtual void nonnull() {}; int a; }; struct dummy_base { virtual void nonnull() {}; virtual ~dummy_base(){}; int a; };
struct dummy : virtual public dummy_base{ void nonnull() {}; }; struct dummy : virtual public dummy_base{ void nonnull() {}; };
typedef mp_impl_T<mp_null<dummy> > mp_null_impl; typedef mp_impl_T<mp_null<dummy> > mp_null_impl;
......
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