projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e98c5eb
)
Remove obsolete non_volatile function
author
khizmax
<khizmax@gmail.com>
Thu, 18 Sep 2014 15:08:22 +0000
(19:08 +0400)
committer
khizmax
<khizmax@gmail.com>
Thu, 18 Sep 2014 15:08:22 +0000
(19:08 +0400)
cds/details/defs.h
patch
|
blob
|
history
diff --git
a/cds/details/defs.h
b/cds/details/defs.h
index 813c7ab82b4338509d4b1963b312ba640eba561f..36a178fb1ec6b1b37419ba771365e99f563a3365 100644
(file)
--- 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 <typename T>
- static inline T * non_volatile( T volatile * p ) { return const_cast<T *>( p ); }
-
- template <typename T>
- static inline T * non_volatile( T * p ) { return p; }
- //@endcond
-
/// Base of all exceptions in the library
class Exception: public std::exception
{