From 4a92dde562a670f4493e561770f561b2c284391f Mon Sep 17 00:00:00 2001 From: Paul Dreik Date: Wed, 15 Jun 2016 20:39:51 +0200 Subject: [PATCH] dont include std headers inside our own namespace --- include/SQLiteCpp/VariadicBind.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/include/SQLiteCpp/VariadicBind.h b/include/SQLiteCpp/VariadicBind.h index 2448230..8cce653 100644 --- a/include/SQLiteCpp/VariadicBind.h +++ b/include/SQLiteCpp/VariadicBind.h @@ -12,8 +12,7 @@ #include -namespace SQLite -{ + //this requires c++14. seems like visual studio 2015 should work (yet untested). @@ -22,6 +21,9 @@ namespace SQLite #include #include +namespace SQLite +{ + /// implementation detail for variadic bind. namespace detail { template @@ -67,8 +69,10 @@ void bind(SQLite::Statement& s,const Args& ... args) { }; detail::invoke_with_index(f, args...); } + +} // namespace SQLite + #else //not supported in older c++. provide a fallback? #endif // c++14 -} // namespace SQLite