From 7e4babaca84285cb1eb0ba66ebe68142b84dbd89 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 7 Jan 2021 20:06:28 +0100 Subject: [PATCH] Use custom versions of concepts for macos support --- source/lang/evaluator.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/lang/evaluator.cpp b/source/lang/evaluator.cpp index cfb6f5469..dcbe7d03a 100644 --- a/source/lang/evaluator.cpp +++ b/source/lang/evaluator.cpp @@ -142,10 +142,10 @@ namespace hex::lang { } #define FLOAT_BIT_OPERATION(name) \ - auto name(std::floating_point auto left, auto right) { throw std::runtime_error(""); return 0; } \ - auto name(auto left, std::floating_point auto right) { throw std::runtime_error(""); return 0; } \ - auto name(std::floating_point auto left, std::floating_point auto right) { throw std::runtime_error(""); return 0; } \ - auto name(std::integral auto left, std::integral auto right) + auto name(hex::floating_point auto left, auto right) { throw std::runtime_error(""); return 0; } \ + auto name(auto left, hex::floating_point auto right) { throw std::runtime_error(""); return 0; } \ + auto name(hex::floating_point auto left, hex::floating_point auto right) { throw std::runtime_error(""); return 0; } \ + auto name(hex::integral auto left, hex::integral auto right) namespace {