X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/fdee6fdb88e79929c952fea956fa57e5780804cf..87550f881db0f6583709f7797becb3eef7d5f254:/projects/stargazer/plugins/other/smux/types.cpp diff --git a/projects/stargazer/plugins/other/smux/types.cpp b/projects/stargazer/plugins/other/smux/types.cpp index ac1d0253..f8eb5209 100644 --- a/projects/stargazer/plugins/other/smux/types.cpp +++ b/projects/stargazer/plugins/other/smux/types.cpp @@ -113,9 +113,9 @@ if (rvalue.arcs.size() < arcs.size()) return true; } -std::ostream & OID::operator<<(std::ostream & stream) const +std::ostream & operator<<(std::ostream & stream, const OID & oid) { -for (size_t i = 0; i < arcs.size(); ++i) - stream << "." << arcs[i]; +for (size_t i = 0; i < oid.arcs.size(); ++i) + stream << "." << oid.arcs[i]; return stream; }