From 1eefd3e332fd64b14d5e1230012696d291300da5 Mon Sep 17 00:00:00 2001 From: Daniel Wallin Date: Tue, 2 Mar 2010 10:31:15 +0100 Subject: [PATCH] Remove spurious semicolons. Fix pedantic build on GCC. --- luabind/operator.hpp | 2 +- src/class.cpp | 2 +- src/open.cpp | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/luabind/operator.hpp b/luabind/operator.hpp index 144fb0d..aeb651c 100755 --- a/luabind/operator.hpp +++ b/luabind/operator.hpp @@ -335,7 +335,7 @@ namespace luabind { s << x; #endif return s.str(); - }; + } LUABIND_UNARY_OPERATOR(tostring, tostring_operator, tostring) LUABIND_UNARY_OPERATOR(unm, -, operator-) diff --git a/src/class.cpp b/src/class.cpp index 00946db..8a67cf6 100755 --- a/src/class.cpp +++ b/src/class.cpp @@ -331,7 +331,7 @@ namespace luabind { namespace detail { } } return ret; - }; + } }} // namespace luabind::detail diff --git a/src/open.cpp b/src/open.cpp index 6f04c55..f20dcfc 100755 --- a/src/open.cpp +++ b/src/open.cpp @@ -70,7 +70,7 @@ namespace (detail::class_id_map*)lua_touserdata(L, 1); m->~class_id_map(); return 0; - }; + } int destroy_cast_graph(lua_State* L) { @@ -78,7 +78,7 @@ namespace (detail::cast_graph*)lua_touserdata(L, 1); g->~cast_graph(); return 0; - }; + } int destroy_class_map(lua_State* L) { @@ -86,7 +86,7 @@ namespace (detail::class_map*)lua_touserdata(L, 1); m->~class_map(); return 0; - }; + } } // namespace unnamed -- 2.11.4.GIT