From 6f55659c16e0214d877c243dfe921c972506de12 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 8 Feb 2022 20:40:33 +0200 Subject: [PATCH] Fix build. --- src/libs/vdxf/libdxfrw/drw_reserve.h | 2 +- src/libs/vpropertyexplorer/plugins/vnumberproperty.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/vdxf/libdxfrw/drw_reserve.h b/src/libs/vdxf/libdxfrw/drw_reserve.h index e87d7ff8b..53dcf3080 100644 --- a/src/libs/vdxf/libdxfrw/drw_reserve.h +++ b/src/libs/vdxf/libdxfrw/drw_reserve.h @@ -28,7 +28,7 @@ namespace DRW auto reserve(std::vector &list, const int size) -> bool { try { - list.reserve( size); + list.reserve(static_cast::size_type>(size)); } catch (const std::exception& e) { DRW_DBG( "std::exception : "); diff --git a/src/libs/vpropertyexplorer/plugins/vnumberproperty.cpp b/src/libs/vpropertyexplorer/plugins/vnumberproperty.cpp index 8b41112db..3fc2eeb6d 100644 --- a/src/libs/vpropertyexplorer/plugins/vnumberproperty.cpp +++ b/src/libs/vpropertyexplorer/plugins/vnumberproperty.cpp @@ -29,7 +29,7 @@ #include #include "../vproperty_p.h" -#include "qstringliteral.h" +#include namespace {