From e27b8cd8b0e86e22b168cdcba6883e9de77c856f Mon Sep 17 00:00:00 2001 From: Jiakun Yan Date: Fri, 24 Mar 2023 10:43:25 -0500 Subject: [PATCH] Fix compilation error on Ookami MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /cppuddle/master/include/buffer_manager.hpp:347:42: error: expected ‘)’ before ‘const’ 347 | buffer_manager const &other) = delete; | ^~~~~~ | ) /cppuddle/master/include/buffer_manager.hpp:346:38: note: to match this ‘(’ 346 | buffer_manager( | ^ --- include/buffer_manager.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/buffer_manager.hpp b/include/buffer_manager.hpp index f2c19b8f..f7ccac7d 100644 --- a/include/buffer_manager.hpp +++ b/include/buffer_manager.hpp @@ -343,13 +343,13 @@ class buffer_recycler { public: // Putting deleted constructors in public gives more useful error // messages // Bunch of constructors we don't need - buffer_manager( + buffer_manager( buffer_manager const &other) = delete; - buffer_manager + buffer_manager operator=(buffer_manager const &other) = delete; - buffer_manager( + buffer_manager( buffer_manager &&other) = delete; - buffer_manager + buffer_manager operator=(buffer_manager &&other) = delete; }; @@ -560,13 +560,13 @@ class buffer_recycler { public: // Putting deleted constructors in public gives more useful error // messages // Bunch of constructors we don't need - mutexless_buffer_manager( + mutexless_buffer_manager( mutexless_buffer_manager const &other) = delete; - mutexless_buffer_manager operator=( + mutexless_buffer_manager operator=( mutexless_buffer_manager const &other) = delete; - mutexless_buffer_manager( + mutexless_buffer_manager( mutexless_buffer_manager &&other) = delete; - mutexless_buffer_manager + mutexless_buffer_manager operator=(mutexless_buffer_manager &&other) = delete; };