From 6b78aa85c6a18bd02d5559d3e4b656fb796738cc Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Mon, 19 Aug 2019 11:52:23 +0200
Subject: [PATCH] [Material/MPL] Remove unused getType() function.

---
 MaterialLib/MPL/Property.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/MaterialLib/MPL/Property.h b/MaterialLib/MPL/Property.h
index 22e83c28738..32d16694a89 100644
--- a/MaterialLib/MPL/Property.h
+++ b/MaterialLib/MPL/Property.h
@@ -102,13 +102,6 @@ protected:
     PropertyDataType _dvalue;
 };
 
-/// This method returns the 0-based index of the variant data types. Can be
-/// enhanced by using enums.
-inline std::size_t getType(Property const& p)
-{
-    return p.value().index();
-}
-
 inline void overwriteExistingProperties(PropertyArray& properties,
                                         PropertyArray& new_properties)
 {
-- 
GitLab