summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-03-03 21:53:59 +0100
committerMichael Stahl <mstahl@redhat.com>2016-03-03 21:53:59 +0100
commit70fd98f16fea0afa7b7943764b0934064dbd2c43 (patch)
treefa3bc2d0de407d8f3fdeb72974c9d0fba0ab21df /vcl
parent5f6065f980756fdb81c7018bedbb7f54e2b8214a (diff)
vcl: type inference is beyond MSVC's limited abilities
Change-Id: I3e6c84c1f49e9523e881ce12dbb2f7e0d1df956e
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qa/cppunit/blocklistparsertest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/blocklistparsertest.cxx b/vcl/qa/cppunit/blocklistparsertest.cxx
index b47b518a7d65..3de95f0b3d82 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;