From aa21312f18ef86a335dd28272e317da959ceb9b7 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 21 Apr 2024 02:09:16 +0500 Subject: upd: renamed namespaces + added utils namespace --- src/utils/string.hpp | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'src/utils/string.hpp') diff --git a/src/utils/string.hpp b/src/utils/string.hpp index 16888d0..fe0610b 100644 --- a/src/utils/string.hpp +++ b/src/utils/string.hpp @@ -3,7 +3,14 @@ #include #include -std::vector split_text(const std::string &text, char delimiter); - -std::string join_vector(const std::vector &vec, char delimiter); -std::string join_vector(const std::vector &vec); +namespace bot { + namespace utils { + namespace string { + std::vector split_text(const std::string &text, + char delimiter); + std::string join_vector(const std::vector &vec, + char delimiter); + std::string join_vector(const std::vector &vec); + } + } +} -- cgit v1.2.3