aboutsummaryrefslogtreecommitdiff
path: root/odb/tr1/lazy-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/tr1/lazy-pointer-traits.hxx
parentb2b8dba6c149407d6657398a874c75629871d21a (diff)
Refactor such that const keyword always precedes type that it qualifies
Diffstat (limited to 'odb/tr1/lazy-pointer-traits.hxx')
-rw-r--r--odb/tr1/lazy-pointer-traits.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/tr1/lazy-pointer-traits.hxx b/odb/tr1/lazy-pointer-traits.hxx
index bdbfbfe..4e29abd 100644
--- a/odb/tr1/lazy-pointer-traits.hxx
+++ b/odb/tr1/lazy-pointer-traits.hxx
@@ -17,8 +17,8 @@ namespace odb
class pointer_traits<tr1::lazy_shared_ptr<T> >
{
public:
- static pointer_kind const kind = pk_shared;
- static bool const lazy = true;
+ static const pointer_kind kind = pk_shared;
+ static const bool lazy = true;
typedef T element_type;
typedef tr1::lazy_shared_ptr<element_type> pointer_type;
@@ -42,8 +42,8 @@ namespace odb
class pointer_traits<tr1::lazy_weak_ptr<T> >
{
public:
- static pointer_kind const kind = pk_weak;
- static bool const lazy = true;
+ static const pointer_kind kind = pk_weak;
+ static const bool lazy = true;
typedef T element_type;
typedef tr1::lazy_weak_ptr<element_type> pointer_type;