aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/gdata.hh
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@aei.mpg.de>2004-10-20 09:42:00 +0000
committerErik Schnetter <schnetter@aei.mpg.de>2004-10-20 09:42:00 +0000
commitf0833c3dd46a3fa11dacf9540aa0398df56d0eec (patch)
tree10e63630c4daaeb156e7a766447f90c15bcf4e71 /Carpet/CarpetLib/src/gdata.hh
parent4ad5c5343746cd7575c820f3e755a97d81f18cc2 (diff)
CarpetLib: more consistency checks during communication
darcs-hash:20041020094227-891bb-aac66b506731e35384752ff0fa0df4e91f689a71.gz
Diffstat (limited to 'Carpet/CarpetLib/src/gdata.hh')
-rw-r--r--Carpet/CarpetLib/src/gdata.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/gdata.hh b/Carpet/CarpetLib/src/gdata.hh
index 9ac8da076..0fb1882d4 100644
--- a/Carpet/CarpetLib/src/gdata.hh
+++ b/Carpet/CarpetLib/src/gdata.hh
@@ -39,6 +39,12 @@ struct comm_state {
bool done ();
~comm_state ();
+private:
+ // Forbit copying and passing by value
+ comm_state (comm_state const &);
+ comm_state& operator= (comm_state const &);
+public:
+
vector<gdata<D>*> tmps;
size_t current;
};