Get rid of unused functions in util/json_util.hpp
This commit is contained in:
parent
a0e591c052
commit
072aa56fb5
@ -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
|
|
||||||
@ -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>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user