diff options
Diffstat (limited to 'Carpet/CarpetLib/src/bintree.hh')
-rw-r--r-- | Carpet/CarpetLib/src/bintree.hh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Carpet/CarpetLib/src/bintree.hh b/Carpet/CarpetLib/src/bintree.hh index 7a7927d9a..83e81f86c 100644 --- a/Carpet/CarpetLib/src/bintree.hh +++ b/Carpet/CarpetLib/src/bintree.hh @@ -142,7 +142,7 @@ public: }; // Memory usage - size_t memory () const CCTK_ATTRIBUTE_PURE; + size_t memory () const CCTK_MEMBER_ATTRIBUTE_PURE; // Output helper void output (ostream & os) const; @@ -152,8 +152,6 @@ public: // Memory usage template <typename T, int D, typename P> -inline size_t memoryof (bintree<T,D,P> const & f) CCTK_ATTRIBUTE_PURE; -template <typename T, int D, typename P> inline size_t memoryof (bintree<T,D,P> const & f) { return f.memory(); } |