diff options
| author | Jared Adams | 2012-04-16 20:43:30 -0600 |
|---|---|---|
| committer | Jared Adams | 2012-04-16 20:48:08 -0600 |
| commit | ebd21e9249ff747d247c6dff1fa7105a2aa6a345 (patch) | |
| tree | 486abffb67f9056070f26f488300b3e9d2883461 /plugins/Brushes.h | |
| parent | 7946cafc8673401bcfa2ff2e116592755a0968f4 (diff) | |
| download | dfhack-ebd21e9249ff747d247c6dff1fa7105a2aa6a345.tar.gz dfhack-ebd21e9249ff747d247c6dff1fa7105a2aa6a345.tar.bz2 dfhack-ebd21e9249ff747d247c6dff1fa7105a2aa6a345.tar.xz | |
Fix some issues with last commit
Diffstat (limited to 'plugins/Brushes.h')
| -rw-r--r-- | plugins/Brushes.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/Brushes.h b/plugins/Brushes.h index 97ddc44c..a525d279 100644 --- a/plugins/Brushes.h +++ b/plugins/Brushes.h @@ -196,6 +196,12 @@ private: Core *c_; }; -std::ostream &operator<<(std::ostream &stream, const Brush& brush) { +inline std::ostream &operator<<(std::ostream &stream, const Brush& brush) { stream << brush.str(); + return stream; +} + +inline std::ostream &operator<<(std::ostream &stream, const Brush* brush) { + stream << brush->str(); + return stream; } |
