From a659d1bfa20d5a568f2c9d1bba31db22a0eb2693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20G=C3=B6rner?= Date: Mon, 7 Oct 2019 16:42:01 +0200 Subject: [PATCH] return int from main() (#405) --- doc/subframes/src/subframes_tutorial.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/subframes/src/subframes_tutorial.cpp b/doc/subframes/src/subframes_tutorial.cpp index 885d2218d..6dfd9c6be 100644 --- a/doc/subframes/src/subframes_tutorial.cpp +++ b/doc/subframes/src/subframes_tutorial.cpp @@ -247,7 +247,7 @@ int main(int argc, char** argv) std::cin >> character_input; if (character_input == 0) { - return true; + return 0; } else if (character_input == 1) { @@ -394,4 +394,4 @@ int main(int argc, char** argv) // CALL_SUB_TUTORIAL quaternions1 // CALL_SUB_TUTORIAL quaternions2 // -// END_TUTORIAL \ No newline at end of file +// END_TUTORIAL