From dfdea820bb58a840b31f633fb7832f6042a73362 Mon Sep 17 00:00:00 2001 From: Maxim Pimenov Date: Thu, 23 Jan 2020 15:17:10 +0300 Subject: [PATCH] [base] Removed an unused function. --- base/string_utils.hpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/base/string_utils.hpp b/base/string_utils.hpp index a05e28e3c9..b96cfe19f7 100644 --- a/base/string_utils.hpp +++ b/base/string_utils.hpp @@ -361,15 +361,6 @@ void ParseCSVRow(std::string const & s, char const delimiter, std::vector -bool IsInArray(T (&arr)[N], TT const & t) -{ - for (size_t i = 0; i < N; ++i) - if (arr[i] == t) - return true; - return false; -} - /// @name From string to numeric. //@{ WARN_UNUSED_RESULT bool to_int(char const * s, int & i, int base = 10);