aboutsummaryrefslogtreecommitdiff
path: root/odb/database.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/database.hxx')
-rw-r--r--odb/database.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/odb/database.hxx b/odb/database.hxx
index dba56c6..e18e8ee 100644
--- a/odb/database.hxx
+++ b/odb/database.hxx
@@ -48,6 +48,8 @@ namespace odb
#ifdef ODB_CXX11
//database (database&&) = default; // VC 2013
+ // Note: noexcept is not specified since *_map_ (std::map) can throw.
+ //
database (database&& d)
: id_ (d.id_),
tracer_ (d.tracer_),
@@ -377,11 +379,11 @@ namespace odb
template <typename T>
prepared_query<T>
- lookup_query (const char* name) const;
+ lookup_query (const char* name);
template <typename T, typename P>
prepared_query<T>
- lookup_query (const char* name, P*& params) const;
+ lookup_query (const char* name, P*& params);
// Prepared query factory.
//