summaryrefslogtreecommitdiff
path: root/src/clpp11.hpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-11-20 20:54:18 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2017-11-20 20:54:18 +0100
commit0f080bbc6e269f686f3cd58a7a2395b96e9cde08 (patch)
tree1e77947e166832561a883319fba8429bf200189d /src/clpp11.hpp
parente0f3484084ecf5e88ad71bd4542b7a2df6d3b707 (diff)
Potentially fixed an MSVC 2013 issue with a copy-constructor not being generated
Diffstat (limited to 'src/clpp11.hpp')
-rw-r--r--src/clpp11.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clpp11.hpp b/src/clpp11.hpp
index 0db64ad9..a958a4a8 100644
--- a/src/clpp11.hpp
+++ b/src/clpp11.hpp
@@ -735,7 +735,7 @@ class Buffer {
const cl_mem& operator()() const { return *buffer_; }
private:
std::shared_ptr<cl_mem> buffer_;
- const BufferAccess access_;
+ BufferAccess access_;
};
// =================================================================================================