From dbaa8f58f0e641da63cf0e5f3eedbc14022ab1b0 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Thu, 7 Jul 2016 17:11:43 -0400 Subject: [PATCH] Bogus clang errors make me sad. --- sol/simple_usertype_metatable.hpp | 2 +- sol/usertype_metatable.hpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sol/simple_usertype_metatable.hpp b/sol/simple_usertype_metatable.hpp index 1317a77e..d9ca7739 100644 --- a/sol/simple_usertype_metatable.hpp +++ b/sol/simple_usertype_metatable.hpp @@ -29,7 +29,7 @@ namespace sol { - struct simple_tag {} const simple; + struct simple_tag {} const simple{}; template struct simple_usertype_metatable : usertype_detail::registrar { diff --git a/sol/usertype_metatable.hpp b/sol/usertype_metatable.hpp index 861a6c85..c58c3012 100644 --- a/sol/usertype_metatable.hpp +++ b/sol/usertype_metatable.hpp @@ -90,8 +90,7 @@ namespace sol { struct add_destructor_tag {}; struct check_destructor_tag {}; struct verified_tag {} const verified{}; - struct simple_tag {} const simple{}; - + template struct is_constructor : std::false_type {};