aboutsummaryrefslogtreecommitdiff
path: root/odb/pointer-traits.hxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-04-19 14:21:05 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-04-22 14:27:32 +0200
commit21e9146eb9e093d940d95799e365a55f83ac8954 (patch)
tree8042180df8b2efc90508c79ce99a9d17dc67dc4b /odb/pointer-traits.hxx
parentb2b8dba6c149407d6657398a874c75629871d21a (diff)
Refactor such that const keyword always precedes type that it qualifies
Diffstat (limited to 'odb/pointer-traits.hxx')
-rw-r--r--odb/pointer-traits.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/pointer-traits.hxx b/odb/pointer-traits.hxx
index 22fb0bc..8882309 100644
--- a/odb/pointer-traits.hxx
+++ b/odb/pointer-traits.hxx
@@ -75,8 +75,8 @@ namespace odb
class pointer_traits<T*>
{
public:
- static pointer_kind const kind = pk_raw;
- static bool const lazy = false;
+ static const pointer_kind kind = pk_raw;
+ static const bool lazy = false;
typedef T element_type;
typedef T* pointer_type;
@@ -136,8 +136,8 @@ namespace odb
class pointer_traits< std::auto_ptr<T> >
{
public:
- static pointer_kind const kind = pk_unique;
- static bool const lazy = false;
+ static const pointer_kind kind = pk_unique;
+ static const bool lazy = false;
typedef T element_type;
typedef std::auto_ptr<element_type> pointer_type;