Enable more warnings for Clang 6
[alexxy/gromacs.git] / src / gromacs / options / abstractsection.h
index ba54295d526b5703d5f96c72bf6387d391e586a4..8ff6c8d7e1d02428e2f9909db4a9206f5f5e968a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2016, by the GROMACS development team, led by
+ * Copyright (c) 2016,2018, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -72,7 +72,8 @@ class AbstractOptionSection
         //! \cond libapi
         //! Initializes option properties with the given name.
         explicit AbstractOptionSection(const char *name) : name_(name) {}
-
+        //! Destructor
+        virtual ~AbstractOptionSection() {}
         /*! \brief
          * Creates a storage object corresponding to this section.
          *