From 83f99f6193d8c5a86a882c843930accdba8442eb Mon Sep 17 00:00:00 2001 From: Arseny Smirnov Date: Wed, 1 May 2019 22:31:07 +0200 Subject: [PATCH] Fix CE GitOrigin-RevId: 48135ab7ebeea8bc6b14de5734a107068cb0dc99 --- tdutils/td/utils/port/path.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tdutils/td/utils/port/path.h b/tdutils/td/utils/port/path.h index f7364894..404b662b 100644 --- a/tdutils/td/utils/port/path.h +++ b/tdutils/td/utils/port/path.h @@ -46,11 +46,11 @@ class WalkPath { enum class Type { EnterDir, ExitDir, NotDir }; template ()("", Type::ExitDir))> - static std::enable_if_t::value, Status> run(CSlice path, F &&func) TD_WARN_UNUSED_RESULT { + static TD_WARN_UNUSED_RESULT std::enable_if_t::value, Status> run(CSlice path, F &&func) { return do_run(path, func); } template ()("", Type::ExitDir))> - static std::enable_if_t::value, Status> run(CSlice path, F &&func) TD_WARN_UNUSED_RESULT { + static TD_WARN_UNUSED_RESULT std::enable_if_t::value, Status> run(CSlice path, F &&func) { return do_run(path, [&](CSlice name, Type type) { func(name, type); return Action::Continue;