diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-11-20 20:54:18 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-11-20 20:54:18 +0100 |
commit | 0f080bbc6e269f686f3cd58a7a2395b96e9cde08 (patch) | |
tree | 1e77947e166832561a883319fba8429bf200189d /src/clpp11.hpp | |
parent | e0f3484084ecf5e88ad71bd4542b7a2df6d3b707 (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.hpp | 2 |
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_; }; // ================================================================================================= |