From: David Wells Date: Thu, 6 Aug 2015 18:55:53 +0000 (-0400) Subject: Fix a test to run in C++11 mode. X-Git-Tag: v8.4.0-rc2~659^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c182998689a2c63f0813bb77d33e3cbb2662b344;p=dealii.git Fix a test to run in C++11 mode. The implementation was fixed in a previous commit. --- diff --git a/tests/base/data_out_base_vtu_compression_levels.cc b/tests/base/data_out_base_vtu_compression_levels.cc index 4c830998c5..1cb302beb5 100644 --- a/tests/base/data_out_base_vtu_compression_levels.cc +++ b/tests/base/data_out_base_vtu_compression_levels.cc @@ -56,16 +56,16 @@ void check_all(std::ostream &log) switch (i) { case (0): - flags.compression_level = DataOutBase::VtkFlags::ZlibCompressionLevel::no_compression; + flags.compression_level = DataOutBase::VtkFlags::no_compression; break; case (1): - flags.compression_level = DataOutBase::VtkFlags::ZlibCompressionLevel::best_speed; + flags.compression_level = DataOutBase::VtkFlags::best_speed; break; case (2): - flags.compression_level = DataOutBase::VtkFlags::ZlibCompressionLevel::best_compression; + flags.compression_level = DataOutBase::VtkFlags::best_compression; break; case (3): - flags.compression_level = DataOutBase::VtkFlags::ZlibCompressionLevel::default_compression; + flags.compression_level = DataOutBase::VtkFlags::default_compression; break; default: Assert(false, ExcInternalError());