From b56911178738da4f8e1733db30c7e5ae5627eb9d Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 2 Feb 2017 10:24:37 +0100 Subject: Pass warning level to the ChecksumVisitor for consistency --- cpp/src/slice2java/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/slice2java/Main.cpp') diff --git a/cpp/src/slice2java/Main.cpp b/cpp/src/slice2java/Main.cpp index 2ea06372755..c14a467d3b7 100644 --- a/cpp/src/slice2java/Main.cpp +++ b/cpp/src/slice2java/Main.cpp @@ -380,7 +380,7 @@ compile(const vector& argv) // // Calculate checksums for the Slice definitions in the unit. // - ChecksumMap m = createChecksums(p); + ChecksumMap m = createChecksums(p, warningLevel); copy(m.begin(), m.end(), inserter(checksums, checksums.begin())); } if(listGenerated) -- cgit v1.2.3