Use the documented 5 line prolog in every sample application. Tidy up sample prologs and header code.

This commit is contained in:
Robin Mills
2021-04-02 16:58:20 +01:00
parent e3a59b47b4
commit 9da2aed5d2
43 changed files with 322 additions and 116 deletions
+3 -1
View File
@@ -27,7 +27,6 @@
// ========================================================================
#include <exiv2/exiv2.hpp>
#include <string>
#include <iostream>
#include <iomanip>
@@ -37,6 +36,9 @@ int main(int argc, char** argv)
{
Exiv2::XmpParser::initialize();
::atexit(Exiv2::XmpParser::terminate);
#ifdef EXIV2_ENABLE_BMFF
Exiv2::enableBMFF();
#endif
try
{