Skip to content

Commit

Permalink
missing semi-colon
Browse files Browse the repository at this point in the history
  • Loading branch information
hn-88 authored Apr 5, 2024
1 parent 2090a55 commit 1d13dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OCVWarp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1d13dde

Please sign in to comment.