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:
authorCharles Milette <charles.milette@gmail.com>2022-04-27 06:27:55 +0300
committerCharles Milette <charles.milette@gmail.com>2022-04-27 06:27:55 +0300
commit8338a48c5ba8c70d504bf1cc91f2a512ebc5b8b5 (patch)
tree14834693803cfaaf012a30923b693b70e105a552 /include
parentcd4f6c146629843627e086424a8ad69a03ff9ca9 (diff)
Remove fmt_helper::to_string
Diffstat (limited to 'include')
-rw-r--r--include/spdlog/details/fmt_helper.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/spdlog/details/fmt_helper.h b/include/spdlog/details/fmt_helper.h
index 9ed30d0e..1a60bc0d 100644
--- a/include/spdlog/details/fmt_helper.h
+++ b/include/spdlog/details/fmt_helper.h
@@ -23,20 +23,6 @@ inline spdlog::string_view_t to_string_view(const memory_buf_t &buf) SPDLOG_NOEX
return spdlog::string_view_t{buf.data(), buf.size()};
}
-#ifdef SPDLOG_USE_STD_FORMAT
-template<typename T>
-std::basic_string<T> to_string(std::basic_string<T> &&buf)
-{
- return std::move(buf);
-}
-#else
-template<typename T, size_t Size>
-std::basic_string<T> to_string(fmt::basic_memory_buffer<T, Size> &&buf)
-{
- return fmt::to_string(buf);
-}
-#endif
-
inline void append_string_view(spdlog::string_view_t view, memory_buf_t &dest)
{
auto *buf_ptr = view.data();