[Libreoffice-commits] core.git: vcl/qa
Michael Stahl
mstahl at redhat.com
Thu Mar 3 20:57:06 UTC 2016
vcl/qa/cppunit/blocklistparsertest.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 70fd98f16fea0afa7b7943764b0934064dbd2c43
Author: Michael Stahl <mstahl at redhat.com>
Date: Thu Mar 3 21:53:59 2016 +0100
vcl: type inference is beyond MSVC's limited abilities
Change-Id: I3e6c84c1f49e9523e881ce12dbb2f7e0d1df956e
diff --git a/vcl/qa/cppunit/blocklistparsertest.cxx b/vcl/qa/cppunit/blocklistparsertest.cxx
index b47b518..3de95f0 100644
--- a/vcl/qa/cppunit/blocklistparsertest.cxx
+++ b/vcl/qa/cppunit/blocklistparsertest.cxx
@@ -39,8 +39,8 @@ void BlocklistParserTest::testParse()
WinBlocklistParser aBlocklistParser(getURLFromSrc("vcl/qa/cppunit/") + "test_blocklist_parse.xml", aDriveInfos);
aBlocklistParser.parse();
- auto const n = aDriveInfos.size();
- CPPUNIT_ASSERT_EQUAL(static_cast<decltype(n)>(20), n);
+ size_t const n = aDriveInfos.size();
+ CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(20), n);
size_t i = 0;
More information about the Libreoffice-commits
mailing list