aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/defs.hh
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-05-03 21:34:07 -0400
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:23:18 +0100
commit0db6273a4db7ded2f7ff913216b66053ee67a743 (patch)
treed2a6b77c81c9c53f0060269511b69749672d1b64 /Carpet/CarpetLib/src/defs.hh
parentd7664c3ba487796ccc7b7aeaa2d5c2f8c717b36d (diff)
CarpetLib: Remove superfluous memoryof() definitions
Remove definitions for memoryof(T*) sinfc there is already memoryof(T const*). xlC does not like having both.
Diffstat (limited to 'Carpet/CarpetLib/src/defs.hh')
-rw-r--r--Carpet/CarpetLib/src/defs.hh2
1 files changed, 0 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/defs.hh b/Carpet/CarpetLib/src/defs.hh
index ad9cd1919..6571648f7 100644
--- a/Carpet/CarpetLib/src/defs.hh
+++ b/Carpet/CarpetLib/src/defs.hh
@@ -571,9 +571,7 @@ inline size_t memoryof (unsigned long long const & e) { return sizeof e; }
inline size_t memoryof (float const & e) { return sizeof e; }
inline size_t memoryof (double const & e) { return sizeof e; }
inline size_t memoryof (long double const & e) { return sizeof e; }
-inline size_t memoryof (void * const & e) { return sizeof e; }
inline size_t memoryof (void const * const & e) { return sizeof e; }
-template<class T> inline size_t memoryof (T * const & e) { return sizeof e; }
template<class T> inline size_t memoryof (T const * const & e) { return sizeof e; }
template<class T> inline size_t memoryof (typename list<T>::iterator const & i) { return sizeof i; }
template<class T> inline size_t memoryof (typename list<T>::const_iterator const & i) { return sizeof i; }