vcl: type inference is beyond MSVC's limited abilities

Change-Id: I3e6c84c1f49e9523e881ce12dbb2f7e0d1df956e
This commit is contained in:
Michael Stahl
2016-03-03 21:53:59 +01:00
parent 5f6065f980
commit 70fd98f16f

View File

@@ -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;