Fix bugs in msgpackstream.cpp, add PVS Studio headers and how to, add stream test to Qt project.

This commit is contained in:
Roman Isaikin
2017-07-10 16:02:38 +03:00
parent aa613f658f
commit b7284725e8
21 changed files with 112 additions and 34 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
#include <QString>
#include <QtTest>
#include <msgpack.h>
@@ -126,7 +128,7 @@ void MixedTest::test_map()
class CustomType
{
public:
CustomType() {}
CustomType() : m_size(777) {}
CustomType(const CustomType &other) { m_size = other.m_size; }
~CustomType() {}