From 93536b210d6647a2c78e1d6b041d63f63c415b99 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Tue, 19 Apr 2011 14:23:36 +0200 Subject: Refactor such that const keyword always precedes type that it qualifies --- odb/boost/smart-ptr/lazy-pointer-traits.hxx | 8 ++++---- 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 > { 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 pointer_type; @@ -42,8 +42,8 @@ namespace odb class pointer_traits > { 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 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 > { 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 pointer_type; @@ -67,8 +67,8 @@ namespace odb class pointer_traits< ::boost::weak_ptr > { 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 pointer_type; -- cgit v1.1