From 77ab07d99100b568fb00db32d6e19bcc654407d7 Mon Sep 17 00:00:00 2001 From: Jeremy B <97525434+42jeremy@users.noreply.github.com> Date: Thu, 17 Nov 2022 12:58:39 +0100 Subject: [PATCH] Update src/storage/v3/request_helper.hpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: János Benjamin Antal --- src/storage/v3/request_helper.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/storage/v3/request_helper.hpp b/src/storage/v3/request_helper.hpp index 035cc1ae5..bc622cc73 100644 --- a/src/storage/v3/request_helper.hpp +++ b/src/storage/v3/request_helper.hpp @@ -117,10 +117,11 @@ struct Element { TObjectAccessor object_acc; }; -template +template +concept IDontKnowAGoodNameForThis = utils::SameAsAnyOf> +template std::vector> OrderByVertices(Shard::Accessor &acc, DbAccessor &dba, TIterable &iterable, std::vector &order_bys) { - static_assert(std::is_same_v || std::is_same_v>); std::vector ordering; ordering.reserve(order_bys.size());