From d98c21fc33a2601f8a524c10a5aa9aca17386cde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Wed, 24 Aug 2022 14:31:28 +0200 Subject: [PATCH] Fix potentially not-initialized variable warning --- test/vector_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/vector_test.cpp b/test/vector_test.cpp index cd8aa09..6057ab1 100644 --- a/test/vector_test.cpp +++ b/test/vector_test.cpp @@ -266,10 +266,10 @@ int main() return 1; } - { + { //Test enum container typedef vector > MyEnumCont; MyEnumCont v; - Test t; + Test t = Test(); v.push_back(t); v.push_back(::boost::move(t)); v.push_back(Test());