Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/anim
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2014-10-14 12:40:28 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:30:52 +0300
commit9c448faaf31a6f5be849dec8208584a138213485 (patch)
treefa91e1694526c5ebe0e463ac18f0148b041087ce /anim
parent4cc9fd6914d548e2649d6e7c01835d3ab67993ad (diff)
Removed unused includes in base files.
Diffstat (limited to 'anim')
-rw-r--r--anim/controller.cpp4
-rw-r--r--anim/task.cpp7
2 files changed, 7 insertions, 4 deletions
diff --git a/anim/controller.cpp b/anim/controller.cpp
index 3ec2432882..2366a52c62 100644
--- a/anim/controller.cpp
+++ b/anim/controller.cpp
@@ -3,7 +3,9 @@
#include "../base/assert.hpp"
#include "../base/timer.hpp"
-#include "../std/bind.hpp"
+
+#include "../std/algorithm.hpp"
+
namespace anim
{
diff --git a/anim/task.cpp b/anim/task.cpp
index 72bbdb2cfa..d4f213ae74 100644
--- a/anim/task.cpp
+++ b/anim/task.cpp
@@ -1,9 +1,10 @@
#include "task.hpp"
-#include "../std/bind.hpp"
-
#include "../base/assert.hpp"
+#include "../std/algorithm.hpp"
+
+
namespace anim
{
Task::Task()
@@ -36,7 +37,7 @@ namespace anim
void Task::PerformCallbacks(EState state)
{
list<TCallback> const & cb = m_Callbacks[state];
- for_each(cb.begin(), cb.end(), bind(&TCallback::operator(), _1));
+ for_each(cb.begin(), cb.end(), [] (TCallback const & cb) { cb(); });
}
void Task::OnStart(double ts)