Enable more warnings for Clang 6
[alexxy/gromacs.git] / src / gromacs / utility / ikeyvaluetreeerror.h
index 5917cb5fe4cbbd56d6cc709c382197432fc6a047..bf1318371931cdfc67cfd6846085e0fccb4be2c3 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.
@@ -55,7 +55,7 @@ class IKeyValueTreeErrorHandler
         virtual bool onError(UserInputError *ex, const KeyValueTreePath &context) = 0;
 
     protected:
-        ~IKeyValueTreeErrorHandler();
+        virtual ~IKeyValueTreeErrorHandler();
 };
 
 //! \cond libapi