Skip to content

Commit 8478824

Browse files
committed
Small improvement as proposed by Vanand Gasparyan
1 parent 7df308f commit 8478824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/jthread.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class jthread
7676
private:
7777
//*** API for the starting thread:
7878
stop_source _stopSource; // stop_source for started thread
79-
::std::thread _thread{::std::thread{}}; // started thread (if any)
79+
::std::thread _thread{}; // started thread (if any)
8080
};
8181

8282

0 commit comments

Comments
 (0)