aboutsummaryrefslogtreecommitdiff
path: root/tests/GLES_COMPUTE/GCAccessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GLES_COMPUTE/GCAccessor.h')
-rw-r--r--tests/GLES_COMPUTE/GCAccessor.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/GLES_COMPUTE/GCAccessor.h b/tests/GLES_COMPUTE/GCAccessor.h
index ccf4caabaf..df0fbaa72e 100644
--- a/tests/GLES_COMPUTE/GCAccessor.h
+++ b/tests/GLES_COMPUTE/GCAccessor.h
@@ -44,9 +44,13 @@ public:
*/
GCAccessor(GCTensor &tensor);
+ /** Prevent instances of this class from being copy constructed */
GCAccessor(const GCAccessor &) = delete;
+ /** Prevent instances of this class from being copied */
GCAccessor &operator=(const GCAccessor &) = delete;
- GCAccessor(GCAccessor &&) = default;
+ /** Allow instances of this class to be move constructed */
+ GCAccessor(GCAccessor &&) = default;
+ /** Allow instances of this class to be moved */
GCAccessor &operator=(GCAccessor &&) = default;
/** Destructor that unmaps the GLES memory. */