diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-04-19 14:23:36 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-04-22 17:54:48 +0200 |
commit | 93536b210d6647a2c78e1d6b041d63f63c415b99 (patch) | |
tree | 798622b9b896fad8b6c6d41afb8d3682fe28a600 | |
parent | d2d963635cc6c4b10024946098ce1a0f68a94682 (diff) |
Refactor such that const keyword always precedes type that it qualifies
-rw-r--r-- | odb/boost/smart-ptr/lazy-pointer-traits.hxx | 8 | ||||
-rw-r--r-- | odb/boost/smart-ptr/pointer-traits.hxx | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/odb/boost/smart-ptr/lazy-pointer-traits.hxx b/odb/boost/smart-ptr/lazy-pointer-traits.hxx index d7a9428..5628625 100644 --- a/odb/boost/smart-ptr/lazy-pointer-traits.hxx +++ b/odb/boost/smart-ptr/lazy-pointer-traits.hxx @@ -17,8 +17,8 @@ namespace odb class pointer_traits<boost::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 boost::lazy_shared_ptr<element_type> pointer_type; @@ -42,8 +42,8 @@ namespace odb class pointer_traits<boost::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 boost::lazy_weak_ptr<element_type> pointer_type; diff --git a/odb/boost/smart-ptr/pointer-traits.hxx b/odb/boost/smart-ptr/pointer-traits.hxx index 62a63a6..881934e 100644 --- a/odb/boost/smart-ptr/pointer-traits.hxx +++ b/odb/boost/smart-ptr/pointer-traits.hxx @@ -21,8 +21,8 @@ namespace odb class pointer_traits< ::boost::shared_ptr<T> > { public: - static pointer_kind const kind = pk_shared; - static bool const lazy = false; + static const pointer_kind kind = pk_shared; + static const bool lazy = false; typedef T element_type; typedef ::boost::shared_ptr<element_type> pointer_type; @@ -67,8 +67,8 @@ namespace odb class pointer_traits< ::boost::weak_ptr<T> > { public: - static pointer_kind const kind = pk_weak; - static bool const lazy = false; + static const pointer_kind kind = pk_weak; + static const bool lazy = false; typedef T element_type; typedef ::boost::weak_ptr<element_type> pointer_type; |