Commit 91780954 authored by Florian Oetke's avatar Florian Oetke
Browse files

fixed recursion in stream output operator of util::Int<>

parent 7389599d
......@@ -7,13 +7,13 @@ namespace mirrage::util {
namespace detail {
std::ostream& operator<<(std::ostream& os, Out_wrapper<std::int64_t> v) { return os << v; }
std::ostream& operator<<(std::ostream& os, Out_wrapper<std::int64_t> v) { return os << v.value; }
std::ostream& operator<<(std::ostream& os, Out_wrapper<std::uint64_t> v) { return os << v; }
std::ostream& operator<<(std::ostream& os, Out_wrapper<std::uint64_t> v) { return os << v.value; }
std::ostream& operator<<(std::ostream& os, Out_wrapper<float> v) { return os << v; }
std::ostream& operator<<(std::ostream& os, Out_wrapper<float> v) { return os << v.value; }
std::ostream& operator<<(std::ostream& os, Out_wrapper<double> v) { return os << v; }
std::ostream& operator<<(std::ostream& os, Out_wrapper<double> v) { return os << v.value; }
} // namespace detail
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment