From 7585d5d3676053a3a430d5244bdb66d42511f2ba Mon Sep 17 00:00:00 2001 From: khizmax Date: Thu, 18 Sep 2014 19:08:22 +0400 Subject: [PATCH] Remove obsolete non_volatile function --- cds/details/defs.h | 9 --------- 1 file changed, 9 deletions(-) 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 { -- 2.34.1