diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-21 15:18:20 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-27 16:51:35 +0900 |
commit | d803b04d37e82dd7f8b901d29e04851d97d1f4eb (patch) | |
tree | a80ac9a85fa83ea72bb633537f7b70f6e1eb3ec8 /lib | |
parent | 59c4996a602e9eeae4e3bfc0210ff15f957df38f (diff) | |
download | libquotient-d803b04d37e82dd7f8b901d29e04851d97d1f4eb.tar.gz libquotient-d803b04d37e82dd7f8b901d29e04851d97d1f4eb.zip |
Tighten the code; add a missing #include
MSVC warns on class/struct mismatch and errors on std::array because
`<array>` is not indirectly included on that platform.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/connectiondata.cpp | 1 | ||||
-rw-r--r-- | lib/connectiondata.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/connectiondata.cpp b/lib/connectiondata.cpp index e241e376..a3807fc4 100644 --- a/lib/connectiondata.cpp +++ b/lib/connectiondata.cpp @@ -25,6 +25,7 @@ #include <QtCore/QTimer> #include <QtCore/QPointer> +#include <array> #include <queue> using namespace Quotient; diff --git a/lib/connectiondata.h b/lib/connectiondata.h index 5cd7c3c7..b367c977 100644 --- a/lib/connectiondata.h +++ b/lib/connectiondata.h @@ -57,7 +57,7 @@ public: QByteArray generateTxnId() const; private: - struct Private; + class Private; std::unique_ptr<Private> d; }; } // namespace Quotient |