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 {