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

@@ -33,7 +33,7 @@ namespace nana{ namespace audio
prepared_.emplace_back(m);
}
thr_ = std::move(std::thread([this](){this->_m_prepare_routine();}));
thr_ = std::thread{[this](){this->_m_prepare_routine();}};
}
buffer_preparation::~buffer_preparation()