diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-15 00:44:02 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-15 00:58:52 +0100 |
commit | 3866e0d4d4026a58e2577f6651e8796182d16a0e (patch) | |
tree | 8357514b67616888a814fc155a049edbb85baf84 /Libraries/LibCore/Object.cpp | |
parent | 2a41bff32947f69facccd16278491d9853543e47 (diff) | |
download | serenity-3866e0d4d4026a58e2577f6651e8796182d16a0e.zip |
LibCore: Move LogStream::operator<< overloads into cpp files
Diffstat (limited to 'Libraries/LibCore/Object.cpp')
-rw-r--r-- | Libraries/LibCore/Object.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Libraries/LibCore/Object.cpp b/Libraries/LibCore/Object.cpp index 87b1f7c5d3..b22c2df561 100644 --- a/Libraries/LibCore/Object.cpp +++ b/Libraries/LibCore/Object.cpp @@ -205,4 +205,9 @@ bool Object::is_visible_for_timer_purposes() const return true; } +const LogStream& operator<<(const LogStream& stream, const Object& object) +{ + return stream << object.class_name() << '{' << &object << '}'; +} + } |