Commit ee06dfb0 authored by Dominik Charousset's avatar Dominik Charousset

Coding style nitpick

parent 11fe6b24
......@@ -45,7 +45,7 @@ public:
void dispose() override {
if (state_) {
decltype(state_) state;
std::swap(state_, state);
state.swap(state_);
state->dispose();
}
}
......
......@@ -165,7 +165,7 @@ public:
void dispose() override {
if (state_) {
decltype(state_) state;
std::swap(state_, state);
state.swap(state_);
state->dispose();
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment