uses std::chrono
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* A Content View Implementation
|
||||
* Nana C++ Library(http://www.nanapro.org)
|
||||
* Copyright(C) 2017-2018 Jinhao(cnjinhao@hotmail.com)
|
||||
* Copyright(C) 2017-2019 Jinhao(cnjinhao@hotmail.com)
|
||||
*
|
||||
* Distributed under the Boost Software License, Version 1.0.
|
||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||
@@ -132,7 +132,7 @@ namespace nana {
|
||||
}
|
||||
else if (this->drag_view_move && this->drive(arg.pos))
|
||||
{
|
||||
tmr.interval(16);
|
||||
tmr.interval(std::chrono::milliseconds{ 16 });
|
||||
tmr.start();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user