From be66bc6fd81b56b78647c40fdb6a014e207bef59 Mon Sep 17 00:00:00 2001
From: tobiglaser <76131623+tobiglaser@users.noreply.github.com>
Date: Sun, 31 Jul 2022 15:31:46 +0200
Subject: [PATCH] Correction: main() now int main()

---
 src/class-member-variables.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/class-member-variables.cpp b/src/class-member-variables.cpp
index 790a705..1c0f06f 100644
--- a/src/class-member-variables.cpp
+++ b/src/class-member-variables.cpp
@@ -19,7 +19,7 @@ public:
 };
 
 
-main()
+int main()
 {
     cout << "Demonstration of class vs. member variables:\n";
     cout << "Without constructing an object we can call the static getter from the CD namespace:\n";
@@ -31,4 +31,5 @@ main()
     cout << "CD_Member: " << cd.getCDMember() << '\n';
     cout << "We can now also use the object to call the static getter (with the same effect):\n";
     cout << "CD_Class:  " << cd.getCDClass() << '\n';
+    return 0;
 }
\ No newline at end of file
-- 
GitLab