]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a test to run in C++11 mode. 1289/head
authorDavid Wells <drwells@vt.edu>
Thu, 6 Aug 2015 18:55:53 +0000 (14:55 -0400)
committerDavid Wells <drwells@vt.edu>
Thu, 6 Aug 2015 18:59:41 +0000 (14:59 -0400)
The implementation was fixed in a previous commit.

tests/base/data_out_base_vtu_compression_levels.cc

index 4c830998c526240087378989f299869662423253..1cb302beb5e9421a1504af4a3a44d51af173249c 100644 (file)
@@ -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());

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.