Skip to content

Commit 775196c

Browse files
committed
tidy/nit - made TSAN happy on macOS.
1 parent c80217b commit 775196c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/mdns_cpp/mdns.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class mDNS {
4646
std::uint16_t port_{42424};
4747
std::string txt_record_{};
4848

49-
bool running_{false};
49+
std::atomic<bool> running_{false};
5050
bool dumpMode_{false};
5151

5252
struct sockaddr_in service_address_ipv4_;

0 commit comments

Comments
 (0)