[geos-commits] r3927 - in trunk/tests/unit: noding/snapround tut
svn_geos at osgeo.org
svn_geos at osgeo.org
Wed Aug 28 05:00:23 PDT 2013
Author: mloskot
Date: 2013-08-28 05:00:22 -0700 (Wed, 28 Aug 2013)
New Revision: 3927
Modified:
trunk/tests/unit/noding/snapround/MCIndexSnapRounderTest.cpp
trunk/tests/unit/tut/tut.hpp
Log:
Disable copy ctor and assignment operator where relevant.
Modified: trunk/tests/unit/noding/snapround/MCIndexSnapRounderTest.cpp
===================================================================
--- trunk/tests/unit/noding/snapround/MCIndexSnapRounderTest.cpp 2013-08-28 11:59:29 UTC (rev 3926)
+++ trunk/tests/unit/noding/snapround/MCIndexSnapRounderTest.cpp 2013-08-28 12:00:22 UTC (rev 3927)
@@ -104,6 +104,9 @@
delete vct[i];
}
+ private:
+ test_mcidxsnprndr_data(test_mcidxsnprndr_data const&); // = delete
+ test_mcidxsnprndr_data& operator=(test_mcidxsnprndr_data const&); // = delete
};
Modified: trunk/tests/unit/tut/tut.hpp
===================================================================
--- trunk/tests/unit/tut/tut.hpp 2013-08-28 11:59:29 UTC (rev 3926)
+++ trunk/tests/unit/tut/tut.hpp 2013-08-28 12:00:22 UTC (rev 3927)
@@ -93,6 +93,9 @@
private:
int current_test_id_;
std::string current_test_name_;
+
+ test_object(test_object const&); // = delete
+ test_object& operator=(test_object const&); // = delete
};
More information about the geos-commits
mailing list