Skip to content

Commit eb7102d

Browse files
committed
Removed [[noreturn]] from startStream
1 parent a8e2782 commit eb7102d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

includes/api/WebSocketClient.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class WebSocketClient {
3232

3333
static void signalHandler(int signum);
3434

35-
[[noreturn]] void startStream() const;
35+
void startStream() const;
3636

3737
void run();
3838

src/api/WebSocketClient.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void WebSocketClient::signalHandler(const int signum) {
6767
keepRunning = false;
6868
}
6969

70-
[[noreturn]] void WebSocketClient::startStream() const {
70+
void WebSocketClient::startStream() const {
7171
std::signal(SIGINT, signalHandler);
7272
std::cout << "Press Ctrl+C to stop the stream..." << std::endl;
7373

0 commit comments

Comments
 (0)