fix compiler errors/warnings for clang 5.0

This commit is contained in:
Jinhao
2017-06-11 11:33:52 +08:00
parent bd38e96ed7
commit 0b4dc1904b
16 changed files with 29 additions and 21 deletions

View File

@@ -454,7 +454,7 @@ namespace nana
thr->performance_parameter = 0.0;
thr->fps = p->fps;
thr->interval = 1000.0 / double(p->fps);
thr->thread = std::make_shared<std::thread>([this, thr]()
thr->thread = std::make_shared<std::thread>([thr]()
{
nana::system::timepiece tmpiece;
while (true)