From 242b2bd45442fc3c3e4bb977cbd3207cf41262b0 Mon Sep 17 00:00:00 2001 From: Owen Green Date: Tue, 16 Apr 2019 17:47:54 +0100 Subject: [PATCH] include/SCBufferAdaptor.hpp Proper copy assign / constructor signature --- include/SCBufferAdaptor.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SCBufferAdaptor.hpp b/include/SCBufferAdaptor.hpp index c1c219e..cff93bc 100644 --- a/include/SCBufferAdaptor.hpp +++ b/include/SCBufferAdaptor.hpp @@ -57,8 +57,8 @@ class SCBufferAdaptor : public NRTBuf, public client::BufferAdaptor { public: // SCBufferAdaptor() = delete; - SCBufferAdaptor(SCBufferAdaptor &) = delete; - SCBufferAdaptor operator=(SCBufferAdaptor &) = delete; + SCBufferAdaptor(const SCBufferAdaptor &) = delete; + SCBufferAdaptor& operator=(const SCBufferAdaptor &) = delete; SCBufferAdaptor(SCBufferAdaptor&&) = default; SCBufferAdaptor& operator=(SCBufferAdaptor&&) = default;