From 1d13dde1d699ff16e99a02cce3e781504473c87e Mon Sep 17 00:00:00 2001 From: hn-88 Date: Fri, 5 Apr 2024 20:01:53 +0530 Subject: [PATCH] missing semi-colon --- OCVWarp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OCVWarp.cpp b/OCVWarp.cpp index 3f256f4..c02fce6 100644 --- a/OCVWarp.cpp +++ b/OCVWarp.cpp @@ -975,7 +975,7 @@ int main(int argc,char *argv[]) // https://stackoverflow.com/questions/538300/check-what-number-a-string-ends-with-in-c std::string test = OpenFileName; std::string::size_type pAt = test.find_last_of('.'); // Find extension point - std::string testwoext = test.substr(0, pAt) + std::string testwoext = test.substr(0, pAt); std::string::size_type last_char_pos = testwoext.find_last_not_of("0123456789"); std::cout << "last not of is " << last_char_pos << std::endl; std::string base = testwoext.substr(0, last_char_pos + 1);