Rename gmx Variant to Any
[alexxy/gromacs.git] / src / gromacs / options / basicoptions.cpp
index fa33e4f1e73abc80ce859bd6d278a2bae15e66fc..57bd2106f9c0206ee2e5dc6e273a50e5fd2cd980 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2010,2011,2012,2013,2014,2015,2016,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2010,2011,2012,2013,2014,2015,2016,2017,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.
@@ -610,9 +610,9 @@ std::string EnumOptionStorage::formatSingleValue(const int &value) const
     return allowed_[value];
 }
 
-Variant EnumOptionStorage::normalizeValue(const int &value) const
+Any EnumOptionStorage::normalizeValue(const int &value) const
 {
-    return Variant::create<std::string>(formatSingleValue(value));
+    return Any::create<std::string>(formatSingleValue(value));
 }
 
 void EnumOptionStorage::initConverter(ConverterType *converter)