diff options
author | John Hodge <tpg@mutabah.net> | 2019-11-07 02:23:43 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2019-11-07 02:23:43 +0800 |
commit | 9976580f96b3fd10d90250f9d977e44e2ab9198d (patch) | |
tree | 451bd89f0be28ca6801289b97914911d31d375ad /src/ast/attrs.hpp | |
parent | f1c5c54cac4cbdec7dd8bd2c59b1dc3ac59c3f7b (diff) | |
download | mrust-9976580f96b3fd10d90250f9d977e44e2ab9198d.tar.gz |
AST - Fix compilation error on some clang installs (#118)
Diffstat (limited to 'src/ast/attrs.hpp')
-rw-r--r-- | src/ast/attrs.hpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ast/attrs.hpp b/src/ast/attrs.hpp index 7a6ce864..193305b7 100644 --- a/src/ast/attrs.hpp +++ b/src/ast/attrs.hpp @@ -47,12 +47,7 @@ public: return get(name) != 0; } - friend ::std::ostream& operator<<(::std::ostream& os, const AttributeList& x) { - for(const auto& i : x.m_items) { - os << "#[" << i << "]"; - } - return os; - } + friend ::std::ostream& operator<<(::std::ostream& os, const AttributeList& x); }; |