Skip to content

Commit 5bac031

Browse files
committed
[stoptoken.general, stopsource.general] Remove DMI from stop-state member
For stoptoken::stop-state, the default-initialized value is already correct, and no further "{}" initializer is needed. For stopsource::stop-state, the DMI "{}" is never used, since the constructor is explicitly specified and not defaulted.
1 parent 7a8f57f commit 5bac031

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/threads.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@
849849
bool operator==(const stop_token& rhs) noexcept = default;
850850

851851
private:
852-
shared_ptr<@\unspec@> @\exposid{stop-state}@{}; // \expos
852+
shared_ptr<@\unspec@> @\exposid{stop-state}@; // \expos
853853
};
854854
}
855855
\end{codeblock}
@@ -925,7 +925,7 @@
925925
bool operator==(const stop_source& rhs) noexcept = default;
926926

927927
private:
928-
shared_ptr<@\unspec@> @\exposid{stop-state}@{}; // \expos
928+
shared_ptr<@\unspec@> @\exposid{stop-state}@; // \expos
929929
};
930930
}
931931
\end{codeblock}

0 commit comments

Comments
 (0)