From c61df91202109d5d959f725a2b5436b9cf274515 Mon Sep 17 00:00:00 2001 From: Joshua Moerman Date: Tue, 7 Apr 2015 16:33:05 +0200 Subject: [PATCH] Hopefully solved the initializer-list error in VS 2013 :( --- lib/splitting_tree.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/splitting_tree.hpp b/lib/splitting_tree.hpp index 4ec8c81..e0851a2 100644 --- a/lib/splitting_tree.hpp +++ b/lib/splitting_tree.hpp @@ -56,15 +56,15 @@ const splitting_tree & lca(const splitting_tree & root, Fun && f){ */ struct options { - bool check_validity = true; - bool cache_succesors = true; - bool randomized = false; + bool check_validity; + bool cache_succesors; + bool randomized; }; -const options lee_yannakakis_style{true, true, false}; -const options hopcroft_style{false, false, false}; -const options randomized_lee_yannakakis_style{true, true, true}; -const options randomized_hopcroft_style{false, false, true}; +const options lee_yannakakis_style = {true, true, false}; +const options hopcroft_style = {false, false, false}; +const options randomized_lee_yannakakis_style = {true, true, true}; +const options randomized_hopcroft_style = {false, false, true}; /* * The algorithm to create a splitting tree also produces some other useful