Browse Source

[5021] Unnecessary method removed.

Tomek Mrugalski 8 years ago
parent
commit
addced65b9
2 changed files with 0 additions and 15 deletions
  1. 0 9
      src/lib/cc/data.cc
  2. 0 6
      src/lib/cc/data.h

+ 0 - 9
src/lib/cc/data.cc

@@ -1084,14 +1084,5 @@ void Element::preprocess(std::istream& in, std::stringstream& out) {
     }
 }
 
-ElementPtr Element::getMutableMap(ConstElementPtr& const_map) {
-    std::map<std::string, ConstElementPtr> values;
-    const_map->getValue(values);
-    ElementPtr mutable_map(new MapElement());
-    mutable_map->setValue(values);
-
-    return (mutable_map);
-}
-
 }
 }

+ 0 - 6
src/lib/cc/data.h

@@ -527,12 +527,6 @@ public:
     /// \return ElementPtr with the data that is parsed.
     static ElementPtr fromWire(const std::string& s);
     //@}
-
-    /// @brief Creates mutable map based on const map
-    ///
-    /// @param const_map const map to be used as a donor
-    /// @return mutable map
-    static ElementPtr getMutableMap(ConstElementPtr& const_map);
 };
 
 /// Notes: IntElement type is changed to int64_t.