Changeset dd7c44 for src/Observer/unittests/stubs/ObserverStub.cpp
- Timestamp:
- Oct 30, 2015, 11:43:20 AM (10 years ago)
- Children:
- 6e2f3b
- Parents:
- 1f96ec
- git-author:
- Frederik Heber <heber@…> (07/10/15 09:44:07)
- git-committer:
- Frederik Heber <heber@…> (10/30/15 11:43:20)
- File:
-
- 1 edited
-
src/Observer/unittests/stubs/ObserverStub.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Observer/unittests/stubs/ObserverStub.cpp
r1f96ec rdd7c44 136 136 { 137 137 Channels *OurChannel = new Channels(); 138 NotificationChannels.insert( std::make_pair(this, OurChannel) );138 Observable::insertNotificationChannel( std::make_pair(this, OurChannel) ); 139 139 OurChannel->addChannel(Operation1Notify); 140 140 OurChannel->addChannel(Operation2Notify); … … 143 143 NotificationObservable::~NotificationObservable() 144 144 { 145 NotificationChannels.erase(this);145 Observable::eraseNotificationChannel(this); 146 146 } 147 147 … … 245 245 { 246 246 Channels *OurChannel = new Channels(); 247 NotificationChannels.insert( std::make_pair(this, OurChannel) );247 Observable::insertNotificationChannel( std::make_pair(this, OurChannel) ); 248 248 OurChannel->addChannel(NotificationObservable::Operation1Notify); 249 249 OurChannel->addChannel(NotificationObservable::Operation2Notify);
Note:
See TracChangeset
for help on using the changeset viewer.
