Skip to content
Snippets Groups Projects
Commit 8f0edbdf authored by Martin Wölzer's avatar Martin Wölzer
Browse files

src/include/clapp/value.hpp: renamed ss to string_stream

parent 246f34c8
No related branches found
No related tags found
No related merge requests found
......@@ -48,15 +48,15 @@ constexpr const char* clapp::value::get_chrono_postfix() noexcept {
template <typename T>
std::string clapp::value::to_string(const T& value) {
std::stringstream ss;
std::stringstream string_stream;
if constexpr (std::is_integral<T>::value) {
ss << std::to_string(value);
string_stream << std::to_string(value);
} else if constexpr (is_chrono_duration<T>::value) {
ss << value.count() << get_chrono_postfix<T>();
string_stream << value.count() << get_chrono_postfix<T>();
} else {
ss << value;
string_stream << value;
}
return ss.str();
return string_stream.str();
}
template <typename T>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment