Skip to content

Commit 850e566

Browse files
committed
chore: fix C++ warning
1 parent fb3e2c1 commit 850e566

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ jobs:
201201
// NOTE: `test-speedcenter` currently seems to be broken on `ubuntu-latest`
202202
"test-speedcenter": large && level >= 2,
203203
// made explicit until it can be assumed to have propagated to PRs
204-
"CMAKE_OPTIONS": "-DUSE_LAKE=ON",
204+
"CMAKE_OPTIONS": "-DUSE_LAKE=ON -DLEAN_EXTRA_CXX_FLAGS=-Werror",
205205
},
206206
{
207207
"name": "Linux Reldebug",

src/util/timeit.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ class xtimeit {
6969
m_start = std::move(other.m_start);
7070
m_fn = std::move(other.m_fn); // TODO: use `std::exchange(_, nullptr)` in C++14
7171
other.m_fn = nullptr;
72+
return *this;
7273
}
7374
~xtimeit() {
7475
if (!m_fn) return;

0 commit comments

Comments
 (0)