From: khizmax Date: Thu, 18 Sep 2014 15:08:22 +0000 (+0400) Subject: Remove obsolete non_volatile function X-Git-Tag: v2.0.0~346 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7585d5d3676053a3a430d5244bdb66d42511f2ba;p=libcds.git Remove obsolete non_volatile function --- diff --git a/cds/details/defs.h b/cds/details/defs.h index 813c7ab8..36a178fb 100644 --- a/cds/details/defs.h +++ b/cds/details/defs.h @@ -411,15 +411,6 @@ namespace cds { namespace cds { - //@cond - /// Helper template: converts volatile pointer to non-volatile one - template - static inline T * non_volatile( T volatile * p ) { return const_cast( p ); } - - template - static inline T * non_volatile( T * p ) { return p; } - //@endcond - /// Base of all exceptions in the library class Exception: public std::exception {