From 2feb73403313c9047d998167ce6719bc4229ca7c Mon Sep 17 00:00:00 2001
From: Alexander Steinmaurer <a@steinmaurer.cc>
Date: Tue, 4 May 2021 21:01:41 +0200
Subject: [PATCH] 7 VO Einheit

---
 2021-oop1/vo/stream-07/01-unique-ptr-1.cpp        | 2 +-
 2021-oop1/vo/stream-07/02-unique-ptr-2.cpp        | 2 +-
 2021-oop1/vo/stream-07/03-unique-ptr-3.cpp        | 2 +-
 2021-oop1/vo/stream-07/04-access-members.cpp      | 2 +-
 2021-oop1/vo/stream-07/05-shared-ptr-1.cpp        | 4 ++--
 2021-oop1/vo/stream-07/05-shared-ptr-2.cpp        | 2 +-
 2021-oop1/vo/stream-07/06-circular-dependency.cpp | 2 +-
 2021-oop1/vo/stream-07/07-dangling-pointer.cpp    | 2 +-
 2021-oop1/vo/stream-07/08-weak-ptr-1.cpp          | 2 +-
 2021-oop1/vo/stream-07/09-weak-ptr-2.cpp          | 2 +-
 2021-oop1/vo/stream-07/10-weak-ptr-3.cpp          | 2 +-
 2021-oop1/vo/stream-07/11-circular-solved.cpp     | 2 +-
 2021-oop1/vo/stream-07/12-exceptions-1.cpp        | 2 +-
 2021-oop1/vo/stream-07/13-exceptions-2.cpp        | 1 +
 2021-oop1/vo/stream-07/14-exceptions-3.cpp        | 2 +-
 2021-oop1/vo/stream-07/15-exceptions-4.cpp        | 2 +-
 16 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/2021-oop1/vo/stream-07/01-unique-ptr-1.cpp b/2021-oop1/vo/stream-07/01-unique-ptr-1.cpp
index 192fd28..ca50a9b 100644
--- a/2021-oop1/vo/stream-07/01-unique-ptr-1.cpp
+++ b/2021-oop1/vo/stream-07/01-unique-ptr-1.cpp
@@ -8,7 +8,7 @@ struct SuperHero {
     { 
       std::cout << name_ << " wurde erzeugt" << std::endl; 
     };
- 
+    
     ~SuperHero() 
     { 
       std::cout << name_ << " wurde zerstört" << std::endl; 
diff --git a/2021-oop1/vo/stream-07/02-unique-ptr-2.cpp b/2021-oop1/vo/stream-07/02-unique-ptr-2.cpp
index 8d2936a..96fca06 100644
--- a/2021-oop1/vo/stream-07/02-unique-ptr-2.cpp
+++ b/2021-oop1/vo/stream-07/02-unique-ptr-2.cpp
@@ -1,7 +1,7 @@
 #include <iostream>
 #include <string>
 #include <memory>
-
+ 
 struct SuperHero {
   std::string name_;
   SuperHero(std::string name) : name_(name) 
diff --git a/2021-oop1/vo/stream-07/03-unique-ptr-3.cpp b/2021-oop1/vo/stream-07/03-unique-ptr-3.cpp
index 3b28f7f..7b33ef4 100644
--- a/2021-oop1/vo/stream-07/03-unique-ptr-3.cpp
+++ b/2021-oop1/vo/stream-07/03-unique-ptr-3.cpp
@@ -8,7 +8,7 @@ struct SuperHero {
   { 
     std::cout << name_ << " wurde erzeugt" << std::endl; 
   };
- 
+  
   ~SuperHero() 
   { 
     std::cout << name_ << " wurde zerstört" << std::endl; 
diff --git a/2021-oop1/vo/stream-07/04-access-members.cpp b/2021-oop1/vo/stream-07/04-access-members.cpp
index d9c2a44..d5788a2 100644
--- a/2021-oop1/vo/stream-07/04-access-members.cpp
+++ b/2021-oop1/vo/stream-07/04-access-members.cpp
@@ -1,7 +1,7 @@
 #include <iostream>
 #include <string>
 #include <memory>
-
+ 
 struct SuperHero {
   public:
     SuperHero(std::string name, std::string phrase) : name_(name), 
diff --git a/2021-oop1/vo/stream-07/05-shared-ptr-1.cpp b/2021-oop1/vo/stream-07/05-shared-ptr-1.cpp
index 45a8ce6..83b6c44 100644
--- a/2021-oop1/vo/stream-07/05-shared-ptr-1.cpp
+++ b/2021-oop1/vo/stream-07/05-shared-ptr-1.cpp
@@ -1,14 +1,14 @@
 #include <iostream>
 #include <string>
 #include <memory>
-
+ 
 struct SuperHero {
   public:
     SuperHero(std::string name) : name_(name)
     { 
       std::cout << name_ << " wurde erzeugt" << std::endl; 
     };
- 
+  
     ~SuperHero() 
     { 
       std::cout << name_ << " wurde zerstört" << std::endl; 
diff --git a/2021-oop1/vo/stream-07/05-shared-ptr-2.cpp b/2021-oop1/vo/stream-07/05-shared-ptr-2.cpp
index 26b95de..703e653 100644
--- a/2021-oop1/vo/stream-07/05-shared-ptr-2.cpp
+++ b/2021-oop1/vo/stream-07/05-shared-ptr-2.cpp
@@ -1,7 +1,7 @@
 #include <iostream>
 #include <string>
 #include <memory>
-
+ 
 struct SuperHero {
   public:
     SuperHero(std::string name) : name_(name)
diff --git a/2021-oop1/vo/stream-07/06-circular-dependency.cpp b/2021-oop1/vo/stream-07/06-circular-dependency.cpp
index c5be5c4..a64fb0d 100644
--- a/2021-oop1/vo/stream-07/06-circular-dependency.cpp
+++ b/2021-oop1/vo/stream-07/06-circular-dependency.cpp
@@ -1,7 +1,7 @@
 #include <iostream>
 #include <string>
 #include <memory>
-
+ 
 struct SuperHero {
   public:
     SuperHero(std::string name) : name_(name) { };
diff --git a/2021-oop1/vo/stream-07/07-dangling-pointer.cpp b/2021-oop1/vo/stream-07/07-dangling-pointer.cpp
index 58dc9f5..2fe829c 100644
--- a/2021-oop1/vo/stream-07/07-dangling-pointer.cpp
+++ b/2021-oop1/vo/stream-07/07-dangling-pointer.cpp
@@ -1,7 +1,7 @@
 #include <iostream>
 #include <string>
 #include <memory>
-
+ 
 struct SuperHero {
   public:
     SuperHero(std::string name) : name_(name) { };
diff --git a/2021-oop1/vo/stream-07/08-weak-ptr-1.cpp b/2021-oop1/vo/stream-07/08-weak-ptr-1.cpp
index 8977c47..fc336fe 100644
--- a/2021-oop1/vo/stream-07/08-weak-ptr-1.cpp
+++ b/2021-oop1/vo/stream-07/08-weak-ptr-1.cpp
@@ -1,7 +1,7 @@
 #include <iostream>
 #include <string>
 #include <memory>
-
+ 
 struct SuperHero {
   std::string name_;
   SuperHero(std::string name) : name_(name) 
diff --git a/2021-oop1/vo/stream-07/09-weak-ptr-2.cpp b/2021-oop1/vo/stream-07/09-weak-ptr-2.cpp
index 7bad666..c2e2714 100644
--- a/2021-oop1/vo/stream-07/09-weak-ptr-2.cpp
+++ b/2021-oop1/vo/stream-07/09-weak-ptr-2.cpp
@@ -8,7 +8,7 @@ struct SuperHero {
   { 
     std::cout << name_ << " wurde erzeugt" << std::endl; 
   };
- 
+  
   ~SuperHero() 
   { 
     std::cout << name_ << " wurde zerstört" << std::endl; 
diff --git a/2021-oop1/vo/stream-07/10-weak-ptr-3.cpp b/2021-oop1/vo/stream-07/10-weak-ptr-3.cpp
index a052e7d..deaf1dd 100644
--- a/2021-oop1/vo/stream-07/10-weak-ptr-3.cpp
+++ b/2021-oop1/vo/stream-07/10-weak-ptr-3.cpp
@@ -8,7 +8,7 @@ struct SuperHero {
   { 
     std::cout << name_ << " wurde erzeugt" << std::endl; 
   };
- 
+  
   ~SuperHero() 
   { 
     std::cout << name_ << " wurde zerstört" << std::endl; 
diff --git a/2021-oop1/vo/stream-07/11-circular-solved.cpp b/2021-oop1/vo/stream-07/11-circular-solved.cpp
index 9c501d7..cd6d2fd 100644
--- a/2021-oop1/vo/stream-07/11-circular-solved.cpp
+++ b/2021-oop1/vo/stream-07/11-circular-solved.cpp
@@ -7,7 +7,7 @@ struct SuperHero {
     SuperHero(std::string name) : name_(name) { };
     ~SuperHero() { };
     std::weak_ptr<SuperHero> enemie_;
- 
+  
   private:
     std::string name_;
 };
diff --git a/2021-oop1/vo/stream-07/12-exceptions-1.cpp b/2021-oop1/vo/stream-07/12-exceptions-1.cpp
index 781ff32..2f984ef 100644
--- a/2021-oop1/vo/stream-07/12-exceptions-1.cpp
+++ b/2021-oop1/vo/stream-07/12-exceptions-1.cpp
@@ -7,7 +7,7 @@ double division(int var1, int var2)
   }
   return (var1 / var2);
 }
- 
+  
 int main()
 {
   int a = 30;
diff --git a/2021-oop1/vo/stream-07/13-exceptions-2.cpp b/2021-oop1/vo/stream-07/13-exceptions-2.cpp
index e4822f3..9352ac3 100644
--- a/2021-oop1/vo/stream-07/13-exceptions-2.cpp
+++ b/2021-oop1/vo/stream-07/13-exceptions-2.cpp
@@ -12,3 +12,4 @@ int main()
     std::cout << ex.what() << std::endl;
   }
 }
+ 
\ No newline at end of file
diff --git a/2021-oop1/vo/stream-07/14-exceptions-3.cpp b/2021-oop1/vo/stream-07/14-exceptions-3.cpp
index ceb0382..f44fcee 100644
--- a/2021-oop1/vo/stream-07/14-exceptions-3.cpp
+++ b/2021-oop1/vo/stream-07/14-exceptions-3.cpp
@@ -11,4 +11,4 @@ int main()
   } catch (std::exception &ex) {
     std::cout << "exception " << ex.what() << std::endl;
   }
-}
\ No newline at end of file
+} 
\ No newline at end of file
diff --git a/2021-oop1/vo/stream-07/15-exceptions-4.cpp b/2021-oop1/vo/stream-07/15-exceptions-4.cpp
index 03fe779..d20bd34 100644
--- a/2021-oop1/vo/stream-07/15-exceptions-4.cpp
+++ b/2021-oop1/vo/stream-07/15-exceptions-4.cpp
@@ -9,7 +9,7 @@ class MyException : public std::exception
       return "Ich schmeiße mit Exceptions um mich!";
     }
 };
- 
+  
 int main()
 {
   try {
-- 
GitLab