netlist: choose the right ostream type. (nw)

This commit is contained in:
couriersud 2019-09-30 21:12:54 +02:00
parent a0f4b5adf1
commit 9cefd516a0

View File

@ -194,7 +194,7 @@ public:
bool operator>(const pstring_t &string) const { return (compare(string) > 0); }
bool operator>=(const pstring_t &string) const { return (compare(string) >= 0); }
friend std::ostream& operator<<(std::ostream &ostrm, const pstring_t &str)
friend auto operator<<(std::basic_ostream<typename string_type::value_type> &ostrm, const pstring_t &str) -> std::basic_ostream<typename string_type::value_type> &
{
ostrm << str.m_str;
return ostrm;