Get rid of unused functions in util/json_util.hpp

This commit is contained in:
Siarhei Fedartsou 2022-11-06 14:55:47 +01:00
parent a0e591c052
commit 072aa56fb5
2 changed files with 0 additions and 23 deletions

View File

@ -1,22 +0,0 @@
#ifndef CONTAINER_HPP
#define CONTAINER_HPP
#include <utility>
namespace osrm
{
namespace util
{
template <class Container> void append_to_container(Container &&) {}
template <class Container, typename T, typename... Args>
void append_to_container(Container &&container, T value, Args &&... args)
{
container.emplace_back(value);
append_to_container(std::forward<Container>(container), std::forward<Args>(args)...);
}
} // namespace util
} // namespace osrm
#endif

View File

@ -2,7 +2,6 @@
#define JSON_UTIL_HPP #define JSON_UTIL_HPP
#include "osrm/json_container.hpp" #include "osrm/json_container.hpp"
#include "util/container.hpp"
#include <cmath> #include <cmath>
#include <limits> #include <limits>