From bb0a8b621084fc112a3a8e5619a272914bdcae93 Mon Sep 17 00:00:00 2001 From: Stein Somers Date: Fri, 24 Jan 2025 18:19:31 +0100 Subject: [PATCH] oops, was using a language extension, apparently --- cpp/BronKerbosch/GraphDegeneracy.h | 2 +- cpp/BronKerboschStudyGeneral.props | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/BronKerbosch/GraphDegeneracy.h b/cpp/BronKerbosch/GraphDegeneracy.h index fc54f09..a2bf38a 100644 --- a/cpp/BronKerbosch/GraphDegeneracy.h +++ b/cpp/BronKerbosch/GraphDegeneracy.h @@ -9,7 +9,7 @@ namespace BronKerbosch { class DegeneracyOrderIter { private: using Priority = unsigned; - static Priority const PRIORITY_NONE = 0; + static constexpr Priority PRIORITY_NONE = 0; template struct PriorityQueue { diff --git a/cpp/BronKerboschStudyGeneral.props b/cpp/BronKerboschStudyGeneral.props index fc0fb37..98c6222 100644 --- a/cpp/BronKerboschStudyGeneral.props +++ b/cpp/BronKerboschStudyGeneral.props @@ -18,6 +18,7 @@ pch.h Use false + true $(BoostDir)\stage\lib;$(CppcoroDir)\build\lib\$(ConfigurationName)