X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fconvert.h;h=be2cb6d5b9874bd6da581cec9a7b8451622e2ca8;hb=2515a3bded01e27dcc3b19502e649f01fff5ace0;hp=da1947b843ad25c67213827f707f593737a240f4;hpb=584305799213c82f68d4d2eb172b812c74400487;p=lyx.git diff --git a/src/support/convert.h b/src/support/convert.h index da1947b843..be2cb6d5b9 100644 --- a/src/support/convert.h +++ b/src/support/convert.h @@ -16,21 +16,11 @@ #ifndef CONVERT_H #define CONVERT_H -#if 0 -#include +namespace lyx { -// Commented out since BOOST_STATIC_ASSERT does not work with gcc 4.0 -template -Target convert(Source arg) -{ - // We use a static assert here since we want all instances of - // this template to be specializations. - BOOST_STATIC_ASSERT(sizeof(bool) == 0); - return Target(); -} -#else template Target convert(Source arg); -#endif + +} // namespace lyx #endif