diff --git a/cpp/QrCodeGeneratorDemo.cpp b/cpp/QrCodeGeneratorDemo.cpp index 8581278..e13f43e 100644 --- a/cpp/QrCodeGeneratorDemo.cpp +++ b/cpp/QrCodeGeneratorDemo.cpp @@ -26,6 +26,7 @@ */ #include +#include #include #include #include @@ -41,11 +42,11 @@ static void printQr(const qrcodegen::QrCode &qr); // The main application program. -int main(int argc, char **argv) { +int main() { doBasicDemo(); doVarietyDemo(); doSegmentDemo(); - return 0; + return EXIT_SUCCESS; }