Skip to content

Commit 457b6dc

Browse files
committed
tidy/nit - made TSAN happy on macOS.
1 parent 045f1b1 commit 457b6dc

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
@@ -47,7 +47,7 @@ class mDNS {
4747
std::uint16_t port_{42424};
4848
std::string txt_record_{};
4949

50-
bool running_{false};
50+
std::atomic<bool> running_{false};
5151
bool dumpMode_{false};
5252

5353
struct sockaddr_in service_address_ipv4_;

0 commit comments

Comments
 (0)