diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-01-26 15:00:37 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-01-26 15:00:37 +0100 |
commit | 3f634202d70b677cb51587893c4b82dbd2123297 (patch) | |
tree | c50873b8f14a58f9da2ceabc26a1e1d45a66b3cb | |
parent | 561dbfed6e139d2c07f607f652f2f7a42e73dcae (diff) | |
download | sink-3f634202d70b677cb51587893c4b82dbd2123297.tar.gz sink-3f634202d70b677cb51587893c4b82dbd2123297.zip |
SINK_EXPORT for free functions needs to go to the beginning
-rw-r--r-- | common/log.h | 2 | ||||
-rw-r--r-- | common/notification.h | 2 | ||||
-rw-r--r-- | common/query.h | 10 | ||||
-rw-r--r-- | common/storage.h | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/common/log.h b/common/log.h index 0814af9..e85856a 100644 --- a/common/log.h +++ b/common/log.h | |||
@@ -80,7 +80,7 @@ struct SINK_EXPORT TraceTime | |||
80 | const int time; | 80 | const int time; |
81 | }; | 81 | }; |
82 | 82 | ||
83 | inline QDebug SINK_EXPORT operator<<(QDebug d, const TraceTime &time) | 83 | SINK_EXPORT inline QDebug operator<<(QDebug d, const TraceTime &time) |
84 | { | 84 | { |
85 | d << time.time << "[ms]"; | 85 | d << time.time << "[ms]"; |
86 | return d; | 86 | return d; |
diff --git a/common/notification.h b/common/notification.h index b1bd290..8224f2a 100644 --- a/common/notification.h +++ b/common/notification.h | |||
@@ -53,4 +53,4 @@ public: | |||
53 | }; | 53 | }; |
54 | } | 54 | } |
55 | 55 | ||
56 | QDebug SINK_EXPORT operator<<(QDebug dbg, const Sink::Notification &n); | 56 | SINK_EXPORT QDebug operator<<(QDebug dbg, const Sink::Notification &n); |
diff --git a/common/query.h b/common/query.h index 2aa2135..50e93de 100644 --- a/common/query.h +++ b/common/query.h | |||
@@ -537,11 +537,11 @@ private: | |||
537 | 537 | ||
538 | } | 538 | } |
539 | 539 | ||
540 | QDebug SINK_EXPORT operator<<(QDebug dbg, const Sink::QueryBase::Comparator &); | 540 | SINK_EXPORT QDebug operator<<(QDebug dbg, const Sink::QueryBase::Comparator &); |
541 | QDebug SINK_EXPORT operator<<(QDebug dbg, const Sink::QueryBase &); | 541 | SINK_EXPORT QDebug operator<<(QDebug dbg, const Sink::QueryBase &); |
542 | QDebug SINK_EXPORT operator<<(QDebug dbg, const Sink::Query &); | 542 | SINK_EXPORT QDebug operator<<(QDebug dbg, const Sink::Query &); |
543 | QDataStream & SINK_EXPORT operator<< (QDataStream &stream, const Sink::QueryBase &query); | 543 | SINK_EXPORT QDataStream &operator<< (QDataStream &stream, const Sink::QueryBase &query); |
544 | QDataStream & SINK_EXPORT operator>> (QDataStream &stream, Sink::QueryBase &query); | 544 | SINK_EXPORT QDataStream &operator>> (QDataStream &stream, Sink::QueryBase &query); |
545 | 545 | ||
546 | Q_DECLARE_OPERATORS_FOR_FLAGS(Sink::Query::Flags) | 546 | Q_DECLARE_OPERATORS_FOR_FLAGS(Sink::Query::Flags) |
547 | Q_DECLARE_METATYPE(Sink::QueryBase); | 547 | Q_DECLARE_METATYPE(Sink::QueryBase); |
diff --git a/common/storage.h b/common/storage.h index a8e14a6..fd349f3 100644 --- a/common/storage.h +++ b/common/storage.h | |||
@@ -215,4 +215,4 @@ private: | |||
215 | } | 215 | } |
216 | } // namespace Sink | 216 | } // namespace Sink |
217 | 217 | ||
218 | QDebug& SINK_EXPORT operator<<(QDebug &dbg, const Sink::Storage::DataStore::Error &error); | 218 | SINK_EXPORT QDebug& operator<<(QDebug &dbg, const Sink::Storage::DataStore::Error &error); |