summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-26 15:00:37 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-26 15:00:37 +0100
commit3f634202d70b677cb51587893c4b82dbd2123297 (patch)
treec50873b8f14a58f9da2ceabc26a1e1d45a66b3cb
parent561dbfed6e139d2c07f607f652f2f7a42e73dcae (diff)
downloadsink-3f634202d70b677cb51587893c4b82dbd2123297.tar.gz
sink-3f634202d70b677cb51587893c4b82dbd2123297.zip
SINK_EXPORT for free functions needs to go to the beginning
-rw-r--r--common/log.h2
-rw-r--r--common/notification.h2
-rw-r--r--common/query.h10
-rw-r--r--common/storage.h2
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
83inline QDebug SINK_EXPORT operator<<(QDebug d, const TraceTime &time) 83SINK_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
56QDebug SINK_EXPORT operator<<(QDebug dbg, const Sink::Notification &n); 56SINK_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
540QDebug SINK_EXPORT operator<<(QDebug dbg, const Sink::QueryBase::Comparator &); 540SINK_EXPORT QDebug operator<<(QDebug dbg, const Sink::QueryBase::Comparator &);
541QDebug SINK_EXPORT operator<<(QDebug dbg, const Sink::QueryBase &); 541SINK_EXPORT QDebug operator<<(QDebug dbg, const Sink::QueryBase &);
542QDebug SINK_EXPORT operator<<(QDebug dbg, const Sink::Query &); 542SINK_EXPORT QDebug operator<<(QDebug dbg, const Sink::Query &);
543QDataStream & SINK_EXPORT operator<< (QDataStream &stream, const Sink::QueryBase &query); 543SINK_EXPORT QDataStream &operator<< (QDataStream &stream, const Sink::QueryBase &query);
544QDataStream & SINK_EXPORT operator>> (QDataStream &stream, Sink::QueryBase &query); 544SINK_EXPORT QDataStream &operator>> (QDataStream &stream, Sink::QueryBase &query);
545 545
546Q_DECLARE_OPERATORS_FOR_FLAGS(Sink::Query::Flags) 546Q_DECLARE_OPERATORS_FOR_FLAGS(Sink::Query::Flags)
547Q_DECLARE_METATYPE(Sink::QueryBase); 547Q_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
218QDebug& SINK_EXPORT operator<<(QDebug &dbg, const Sink::Storage::DataStore::Error &error); 218SINK_EXPORT QDebug& operator<<(QDebug &dbg, const Sink::Storage::DataStore::Error &error);