summaryrefslogtreecommitdiff
path: root/src/utils/get_first_non_empty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/get_first_non_empty.cpp')
-rw-r--r--src/utils/get_first_non_empty.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/utils/get_first_non_empty.cpp b/src/utils/get_first_non_empty.cpp
index 5b3bedb..17585b1 100644
--- a/src/utils/get_first_non_empty.cpp
+++ b/src/utils/get_first_non_empty.cpp
@@ -1,11 +1,8 @@
#include <utils/get_first_non_empty.hpp>
+template <>
bool is_empty(const std::string& val)
{
return val.empty();
}
-bool is_empty(const int& val)
-{
- return val == 0;
-}