summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'SwifTools/Idle/UnitTest')
-rw-r--r--SwifTools/Idle/UnitTest/ActualIdleDetectorTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/SwifTools/Idle/UnitTest/ActualIdleDetectorTest.cpp b/SwifTools/Idle/UnitTest/ActualIdleDetectorTest.cpp
index 8af66fc..8e4177e 100644
--- a/SwifTools/Idle/UnitTest/ActualIdleDetectorTest.cpp
+++ b/SwifTools/Idle/UnitTest/ActualIdleDetectorTest.cpp
@@ -150,18 +150,18 @@ class ActualIdleDetectorTest : public CppUnit::TestFixture {
MockTimerFactory() {}
void updateTime(int milliseconds) {
- foreach(boost::shared_ptr<MockTimer> timer, timers) {
+ foreach(std::shared_ptr<MockTimer> timer, timers) {
timer->updateTime(milliseconds);
}
}
- boost::shared_ptr<Timer> createTimer(int milliseconds) {
- boost::shared_ptr<MockTimer> timer(new MockTimer(milliseconds));
+ std::shared_ptr<Timer> createTimer(int milliseconds) {
+ std::shared_ptr<MockTimer> timer(new MockTimer(milliseconds));
timers.push_back(timer);
return timer;
}
- std::vector<boost::shared_ptr<MockTimer> > timers;
+ std::vector<std::shared_ptr<MockTimer> > timers;
};
MockIdleQuerier* querier;