diff options
Diffstat (limited to 'Observer.cpp')
-rw-r--r-- | Observer.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Observer.cpp b/Observer.cpp index ff523b8..7d5dc22 100644 --- a/Observer.cpp +++ b/Observer.cpp @@ -2,12 +2,7 @@ #include "Observer.h" -void Observer::update(){ - std::cout << 'a' << std::endl; -} - void Subject::attach(Observer * obs){ - std::cout << "added" << std::endl; this->observers.push_back(obs); } @@ -16,7 +11,6 @@ void Subject::detach(Observer *){ } int Subject::size() { - std::cout << "subject list size " << this->observers.size() << std::endl; return this->observers.size(); } |