From 23d213d4263a746e3da9c360a1fc663020d324e9 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 12 Jan 2026 18:29:59 +0100 Subject: Dangling changes --- kel_cmds/c++/kel_cmds.cpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'kel_cmds/c++/kel_cmds.cpp') diff --git a/kel_cmds/c++/kel_cmds.cpp b/kel_cmds/c++/kel_cmds.cpp index 8b13789..b7ea512 100644 --- a/kel_cmds/c++/kel_cmds.cpp +++ b/kel_cmds/c++/kel_cmds.cpp @@ -1 +1,28 @@ +#include +#include + +namespace kel { +saw::error_or kel_main(int argc, char** argv){ + + return saw::make_void(); +} +} + +int main(int argc, char** argv){ + auto eov = kel::kel_main(argc, argv); + if(eov.is_error()){ + auto& err = eov.get_error(); + auto err_msg = err.get_message(); + std::cerr<<"[Error]: "<