diff --git a/src/sqlitetypes.cpp b/src/sqlitetypes.cpp index 6f00128f..10a32fe9 100644 --- a/src/sqlitetypes.cpp +++ b/src/sqlitetypes.cpp @@ -4,6 +4,7 @@ #include #include +#include // This include seems to only be necessary for the Windows build namespace sqlb { @@ -28,7 +29,7 @@ QDataStream& operator<<(QDataStream& ds, const ObjectIdentifier& objid) return ds; } -QDataStream & operator>>(QDataStream& ds, ObjectIdentifier& objid) +QDataStream& operator>>(QDataStream& ds, ObjectIdentifier& objid) { // Read in the item QVariant v; diff --git a/src/sqlitetypes.h b/src/sqlitetypes.h index 0257af31..d31366af 100644 --- a/src/sqlitetypes.h +++ b/src/sqlitetypes.h @@ -98,7 +98,7 @@ private: }; QDataStream& operator<<(QDataStream& ds, const ObjectIdentifier& objid); -QDataStream & operator>>(QDataStream& ds, ObjectIdentifier& objid); +QDataStream& operator>>(QDataStream& ds, ObjectIdentifier& objid); class Object; class Table;