aboutsummaryrefslogtreecommitdiff
path: root/odb/database.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-08-16 12:07:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-08-16 12:07:03 +0200
commit0a95a3e57d152f154af5d07d537e0c99b374a20f (patch)
tree6f4df0401292122c85fd1c9faeb28e3c4e8da1d6 /odb/database.hxx
parentc56f32eb5e0b88ef8297a691f5286ba4aa4aa8b4 (diff)
Make use of const style consistent
Diffstat (limited to 'odb/database.hxx')
-rw-r--r--odb/database.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/odb/database.hxx b/odb/database.hxx
index 0a993d5..1f08daf 100644
--- a/odb/database.hxx
+++ b/odb/database.hxx
@@ -35,21 +35,21 @@ namespace odb
//
template <typename T>
typename object_traits<T>::pointer_type
- load (typename object_traits<T>::id_type const& id);
+ load (const typename object_traits<T>::id_type& id);
template <typename T>
void
- load (typename object_traits<T>::id_type const& id, T& object);
+ load (const typename object_traits<T>::id_type& id, T& object);
// Return NULL/false if not found.
//
template <typename T>
typename object_traits<T>::pointer_type
- find (typename object_traits<T>::id_type const& id);
+ find (const typename object_traits<T>::id_type& id);
template <typename T>
bool
- find (typename object_traits<T>::id_type const& id, T& object);
+ find (const typename object_traits<T>::id_type& id, T& object);
// Save the state of a modified objects.
//
@@ -66,7 +66,7 @@ namespace odb
template <typename T>
void
- erase (typename object_traits<T>::id_type const& id);
+ erase (const typename object_traits<T>::id_type& id);
// Object query API.
//