diff options
Diffstat (limited to 'odb/database.hxx')
-rw-r--r-- | odb/database.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/database.hxx b/odb/database.hxx index adeb83a..2a25f7f 100644 --- a/odb/database.hxx +++ b/odb/database.hxx @@ -366,14 +366,14 @@ namespace odb void cache_query (const prepared_query<T>&); - template <typename T, typename P> - void - cache_query (const prepared_query<T>&, std::auto_ptr<P> params); - #ifdef ODB_CXX11 template <typename T, typename P> void cache_query (const prepared_query<T>&, std::unique_ptr<P> params); +#else + template <typename T, typename P> + void + cache_query (const prepared_query<T>&, std::auto_ptr<P> params); #endif template <typename T> |