aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/gdata.hh
diff options
context:
space:
mode:
authorThomas Radke <tradke@aei.mpg.de>2005-05-26 11:32:00 +0000
committerThomas Radke <tradke@aei.mpg.de>2005-05-26 11:32:00 +0000
commitcbe3768986ffe1b8156427751d617f124f6fabfe (patch)
tree48b2490b72cd8bc0699d2ae2fd595843e150be95 /Carpet/CarpetLib/src/gdata.hh
parent5c524dd781596450e39c56276912dd933d89a6c2 (diff)
CarpetLib: remove bool gdata::owns_storage() which isn't needed anymore in this class
darcs-hash:20050526113252-776a0-58480600178d1c7beae50aa34808564a443f3c92.gz
Diffstat (limited to 'Carpet/CarpetLib/src/gdata.hh')
-rw-r--r--Carpet/CarpetLib/src/gdata.hh7
1 files changed, 0 insertions, 7 deletions
diff --git a/Carpet/CarpetLib/src/gdata.hh b/Carpet/CarpetLib/src/gdata.hh
index b35f2dbce..8750c4bc5 100644
--- a/Carpet/CarpetLib/src/gdata.hh
+++ b/Carpet/CarpetLib/src/gdata.hh
@@ -32,9 +32,6 @@ protected: // should be readonly
operator_type transport_operator;
bool _has_storage; // has storage associated (on some processor)
- bool _owns_storage; // owns the storage
- // (only valid if there is storage on this processor; it means that
- // the memory is allocated and freed by this class)
int _size; // size
int _proc; // stored on processor
@@ -98,10 +95,6 @@ public:
bool has_storage () const {
return _has_storage;
}
- bool owns_storage () const {
- assert (_has_storage);
- return _owns_storage;
- }
virtual const void* storage () const = 0;