From 9b447bde8ea5c81cf58de1a9cf7a77d7460f794c Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 7 Jul 2020 18:56:51 -0400 Subject: [PATCH] remove extra { --- src/zm_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_utils.cpp b/src/zm_utils.cpp index bb1c13d3a..18067b38f 100644 --- a/src/zm_utils.cpp +++ b/src/zm_utils.cpp @@ -44,7 +44,7 @@ std::string trimSet(std::string str, std::string trimset) { size_t endpos = str.find_last_not_of(trimset); // Find the first character position from reverse af // if all spaces or empty return an empty string - if ( ( std::string::npos == startpos ) || ( std::string::npos == endpos) ) { + if ( ( std::string::npos == startpos ) || ( std::string::npos == endpos ) ) return std::string(""); return str.substr(startpos, endpos-startpos+1); }