Skip to content

Commit 3d8ea7b

Browse files
committed
Fix builds
1 parent e40a2d2 commit 3d8ea7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/editor/overlay_widget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ void
312312
EditorOverlayWidget::put_next_tiles()
313313
{
314314
auto time_now = std::chrono::steady_clock::now();
315-
int expired_ms = static_cast<int>(duration_cast<std::chrono::milliseconds>(time_now - m_time_prev_put_tile).count());
315+
int expired_ms = static_cast<int>(std::chrono::duration_cast<std::chrono::milliseconds>(time_now - m_time_prev_put_tile).count());
316316
m_time_prev_put_tile = time_now;
317317
if (expired_ms > 70)
318318
{

0 commit comments

Comments
 (0)