From c9a417ac60366ac58895148ca26d8ee54c376aa1 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Wed, 28 Aug 2024 16:17:18 +0200 Subject: async_map_utils: Pass key_printer also for reporting pending tasks... ...in async map instances, same as for reporting cycles. This removes the restriction that the key object has to posses the ToString method, allowing it to be used, e.g., with just-mr maps. The now obsolete HasToString concept is removed. --- src/utils/cpp/concepts.hpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/utils/cpp/concepts.hpp') diff --git a/src/utils/cpp/concepts.hpp b/src/utils/cpp/concepts.hpp index 90946762..7cf943b6 100644 --- a/src/utils/cpp/concepts.hpp +++ b/src/utils/cpp/concepts.hpp @@ -41,13 +41,6 @@ concept HasSize = requires(T const c) { } -> same_as; // TODO(modernize): replace by std::same_as }; -template -concept HasToString = requires(T const t) { - { - t.ToString() - } -> same_as; // TODO(modernize): replace by std::same_as -}; - template concept InputIterableContainer = requires(T const c) { { -- cgit v1.2.3