summaryrefslogtreecommitdiff
path: root/test/colour_conversion_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/colour_conversion_test.cc')
-rw-r--r--test/colour_conversion_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/colour_conversion_test.cc b/test/colour_conversion_test.cc
index f277edd9a..28545b3f0 100644
--- a/test/colour_conversion_test.cc
+++ b/test/colour_conversion_test.cc
@@ -28,7 +28,6 @@
#include <dcp/gamma_transfer_function.h>
#include <libxml++/libxml++.h>
#include <boost/test/unit_test.hpp>
-#include <boost/foreach.hpp>
#include <iostream>
using std::cout;
@@ -105,7 +104,7 @@ BOOST_AUTO_TEST_CASE (colour_conversion_test3)
/** Test a round trip via the XML representation */
BOOST_AUTO_TEST_CASE (colour_conversion_test4)
{
- BOOST_FOREACH (PresetColourConversion const & i, PresetColourConversion::all ()) {
+ for (auto const& i: PresetColourConversion::all ()) {
xmlpp::Document out;
xmlpp::Element* out_root = out.create_root_node ("Test");
i.conversion.as_xml (out_root);