8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f477288 commit 94f8b38Copy full SHA for 94f8b38
common/chat-parser.cpp
@@ -88,6 +88,7 @@ void common_chat_msg_parser::finish() {
88
}
89
90
91
+[[noreturn]]
92
void common_chat_msg_parser::incomplete(const std::string & message) {
93
if (is_partial_) {
94
finish();
common/chat-parser.h
@@ -63,6 +63,7 @@ class common_chat_msg_parser {
63
64
void finish();
65
66
+ [[noreturn]]
67
void incomplete(const std::string & message);
68
69
bool consume_spaces();
common/regex-partial.cpp
@@ -1,6 +1,7 @@
1
#include "regex-partial.h"
2
#include "common.h"
3
#include <functional>
4
+#include <optional>
5
6
common_regex::common_regex(const std::string & pattern) :
7
pattern(pattern),
0 commit comments