Fix build.

This commit is contained in:
Roman Telezhynskyi 2022-02-08 20:40:33 +02:00
parent f763309a46
commit 6f55659c16
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ namespace DRW
auto reserve(std::vector<T> &list, const int size) -> bool
{
try {
list.reserve( size);
list.reserve(static_cast<typename std::vector<T>::size_type>(size));
}
catch (const std::exception& e) {
DRW_DBG( "std::exception : ");

View File

@ -29,7 +29,7 @@
#include <QWidget>
#include "../vproperty_p.h"
#include "qstringliteral.h"
#include <QStringLiteral>
namespace
{