X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=cds%2Fcontainer%2Fskip_list_map_rcu.h;h=201bf158e06b5c9059a5e66b434fc7e1fb1c8421;hb=df4d0c52b3eff17a49505093870a37ea8c9d565d;hp=d13bb4b09082c399fd9a7566aa2532db1052ad3a;hpb=e891296f3970a4d973ad69d732cb646dbbe820c5;p=libcds.git diff --git a/cds/container/skip_list_map_rcu.h b/cds/container/skip_list_map_rcu.h index d13bb4b0..201bf158 100644 --- a/cds/container/skip_list_map_rcu.h +++ b/cds/container/skip_list_map_rcu.h @@ -1,11 +1,11 @@ /* This file is a part of libcds - Concurrent Data Structures library - (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016 + (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017 Source code repo: http://github.com/khizmax/libcds/ Download: http://sourceforge.net/projects/libcds/files/ - + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -25,7 +25,7 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef CDSLIB_CONTAINER_SKIP_LIST_MAP_RCU_H @@ -231,7 +231,7 @@ namespace cds { namespace container { /// Returns a forward iterator addressing the first element in a map iterator begin() { - return iterator( base_class::begin() ); + return iterator( base_class::begin()); } /// Returns a forward const iterator addressing the first element in a map @@ -242,13 +242,13 @@ namespace cds { namespace container { /// Returns a forward const iterator addressing the first element in a map const_iterator cbegin() const { - return const_iterator( base_class::cbegin() ); + return const_iterator( base_class::cbegin()); } /// Returns a forward iterator that addresses the location succeeding the last element in a map. iterator end() { - return iterator( base_class::end() ); + return iterator( base_class::end()); } /// Returns a forward const iterator that addresses the location succeeding the last element in a map. @@ -259,7 +259,7 @@ namespace cds { namespace container { /// Returns a forward const iterator that addresses the location succeeding the last element in a map. const_iterator cend() const { - return const_iterator( base_class::cend() ); + return const_iterator( base_class::cend()); } //@} @@ -612,7 +612,7 @@ namespace cds { namespace container { bool contains( K const& key, Less pred ) { CDS_UNUSED( pred ); - return base_class::contains( key, cds::details::predicate_wrapper< node_type, Less, typename maker::key_accessor >() ); + return base_class::contains( key, cds::details::predicate_wrapper< node_type, Less, typename maker::key_accessor >()); } //@cond template @@ -671,7 +671,7 @@ namespace cds { namespace container { raw_ptr get_with( K const& key, Less pred ) { CDS_UNUSED( pred ); - return raw_ptr( base_class::get_with( key, cds::details::predicate_wrapper< node_type, Less, typename maker::key_accessor >() )); + return raw_ptr( base_class::get_with( key, cds::details::predicate_wrapper< node_type, Less, typename maker::key_accessor >())); } /// Clears the map (not atomic)