File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ toolcall::mcp_stdio_transport::mcp_stdio_transport(std::vector<std::string> argv
88{
99}
1010
11- void toolcall::mcp_stdio_transport::start () {
11+ [[noreturn]] void toolcall::mcp_stdio_transport::start () {
1212 throw std::logic_error (std::string (" Function not implemented: " ) + __func__);
1313}
1414
15- void toolcall::mcp_stdio_transport::stop () {
15+ [[noreturn]] void toolcall::mcp_stdio_transport::stop () {
1616 throw std::logic_error (std::string (" Function not implemented: " ) + __func__);
1717}
1818
19- bool toolcall::mcp_stdio_transport::send (const mcp::message_variant & /* request*/ ) {
19+ [[noreturn]] bool toolcall::mcp_stdio_transport::send (const mcp::message_variant & /* request*/ ) {
2020 throw std::logic_error (std::string (" Function not implemented: " ) + __func__);
2121}
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ namespace toolcall
1111 public:
1212 mcp_stdio_transport (std::vector<std::string> argv);
1313
14- virtual void start () override ;
15- virtual void stop () override ;
16- virtual bool send (const mcp::message_variant & request) override ;
14+ [[noreturn]] virtual void start () override ;
15+ [[noreturn]] virtual void stop () override ;
16+ [[noreturn]] virtual bool send (const mcp::message_variant & request) override ;
1717
1818 private:
1919 std::vector<std::string> argv_;
You can’t perform that action at this time.
0 commit comments