From 72617a9dcf051a949f18352b506b1fd15eb91002 Mon Sep 17 00:00:00 2001 From: Mark Abraham Date: Thu, 1 Nov 2018 15:06:53 +0100 Subject: [PATCH] Quiet unused variable warnings gcc 4.8 in debug mode warns about unused manager variables Change-Id: I84b9729036c929a14550357d82321f7122462e04 --- src/gromacs/restraint/manager.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/gromacs/restraint/manager.h b/src/gromacs/restraint/manager.h index 0a1c007012..98c719fe02 100644 --- a/src/gromacs/restraint/manager.h +++ b/src/gromacs/restraint/manager.h @@ -84,14 +84,12 @@ class RestraintManager final /*! * \brief Client code can access the shared resource by copying or moving a handle. - * - * \param manager original manager to copy or move * \{ */ - RestraintManager(const RestraintManager &manager) = default; - RestraintManager &operator=(const RestraintManager &manager) = default; - RestraintManager(RestraintManager &&) noexcept = default; - RestraintManager &operator=(RestraintManager &&manager) noexcept = default; + RestraintManager(const RestraintManager &/* unused */) = default; + RestraintManager &operator=(const RestraintManager & /* unused */) = default; + RestraintManager(RestraintManager &&) noexcept = default; + RestraintManager &operator=(RestraintManager && /* unused */) noexcept = default; /*! \} */ /*! -- 2.11.4.GIT