From c4e5862f38b539c73c88b92c72de899a96e6d307 Mon Sep 17 00:00:00 2001 From: Mark Abraham Date: Sun, 14 Oct 2018 10:10:46 +0200 Subject: [PATCH] Fix compiler warnings clang 6 warned about these. Change-Id: I4692d1c0e76e8cbe984e22028980956e1bd628d5 --- src/gromacs/restraint/restraintmdmodule-impl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gromacs/restraint/restraintmdmodule-impl.h b/src/gromacs/restraint/restraintmdmodule-impl.h index b5ddd874e1..7eb990e988 100644 --- a/src/gromacs/restraint/restraintmdmodule-impl.h +++ b/src/gromacs/restraint/restraintmdmodule-impl.h @@ -86,7 +86,7 @@ class Site explicit Site(int globalIndex) : index_(globalIndex), r_(0, 0, 0) - {}; + {} /*! * \brief Explicitly define copies. @@ -115,7 +115,7 @@ class Site * \return global index provided at construction. * */ - int index() const { return index_; }; + int index() const { return index_; } /*! * \brief Get the position of this site at time t. -- 2.11.4.GIT