Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabime <gmelman1@gmail.com>2019-12-21 18:55:30 +0300
committergabime <gmelman1@gmail.com>2019-12-21 18:55:30 +0300
commitcd5ddca00de050b0679e2187ebdfc42bce4d79f5 (patch)
treef89af82c13527fa03e3a673101ab25c6eff5afaf /include/spdlog/cfg/helpers-inl.h
parentf18e1fccfd3927878854d3d952e56f4ea539dc26 (diff)
wip
Diffstat (limited to 'include/spdlog/cfg/helpers-inl.h')
-rw-r--r--include/spdlog/cfg/helpers-inl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/spdlog/cfg/helpers-inl.h b/include/spdlog/cfg/helpers-inl.h
index 87c270e3..a6b75a1e 100644
--- a/include/spdlog/cfg/helpers-inl.h
+++ b/include/spdlog/cfg/helpers-inl.h
@@ -19,7 +19,6 @@ namespace spdlog {
namespace cfg {
namespace helpers {
-using name_val_pair = std::pair<std::string, std::string>;
// inplace convert to lowercase
inline std::string &to_lower_(std::string &str)
@@ -44,7 +43,8 @@ inline std::string &trim_(std::string &str)
// " key = val " => ("key", "val")
// "key=" => ("key", "")
// "val" => ("", "val")
-inline name_val_pair extract_kv_(char sep, const std::string &str)
+
+inline std::pair<std::string, std::string> extract_kv_(char sep, const std::string &str)
{
auto n = str.find(sep);
std::string k, v;