Rename gmx Variant to Any
[alexxy/gromacs.git] / src / gromacs / options / tests / abstractoptionstorage.cpp
index 336075277337d4cbd74b1bda21434db934499c30..de0037b6040d035e6acb4e385ec56ba29f825fd9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2010,2011,2012,2013,2014,2016,2018, by the GROMACS development team, led by
+ * Copyright (c) 2010,2011,2012,2013,2014,2016,2018,2019, 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.
@@ -110,13 +110,13 @@ class MockOptionStorage : public gmx::OptionStorageTemplate<std::string>
         {
             return "";
         }
-        std::vector<gmx::Variant>
-        normalizeValues(const std::vector<gmx::Variant> &values) const override
+        std::vector<gmx::Any>
+        normalizeValues(const std::vector<gmx::Any> &values) const override
         {
             return values;
         }
 
-        void convertValue(const gmx::Variant &value) override
+        void convertValue(const gmx::Any &value) override
         {
             convertValue(value.cast<std::string>());
         }