Adding CPP changes

This commit is contained in:
clanmills
2020-03-29 15:58:03 +01:00
parent 9b07cff26a
commit 0eabfc4053
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -347,11 +347,11 @@ int main(int argc, char* const argv[])
Jzon::Writer writer(root, Jzon::StandardFormat);
writer.Write();
std::cout << writer.GetResult() << std::endl;
return 0;
return EXIT_SUCCESS;
}
catch (Exiv2::Error& e) {
std::cout << "Caught Exiv2 exception '" << e.what() << "'\n";
return -1;
return EXIT_FAILURE;
}
}