Fix the build... Whoops...
[folly.git] / folly / dynamic.cpp
index c2fac276628b2d2842708c773d3e11e6d446a179..cc1ffdea211cf590e790e4d1c22a7a722643f8d7 100644 (file)
@@ -254,8 +254,7 @@ std::size_t dynamic::size() const {
   throw TypeError("array/object", type());
 }
 
-dynamic::const_iterator
-dynamic::erase(const_iterator first, const_iterator last) {
+dynamic::iterator dynamic::erase(const_iterator first, const_iterator last) {
   auto& arr = get<Array>();
   return get<Array>().erase(
     arr.begin() + (first - arr.begin()),