diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-12-09 13:03:27 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-12-09 13:03:27 +0100 |
| commit | 48446c069bc504cd066a44fab0e42073d5ca6a2d (patch) | |
| tree | 1bf66b2169a6544d09c2d92649ef35355c7e05ad /kel_cpp_boilerplate/c++/blueprints/main_cpp.hpp | |
| parent | 0b3acb991f11d9ace340f75bc2f8a454ea385fae (diff) | |
| download | apps-dev_tools-48446c069bc504cd066a44fab0e42073d5ca6a2d.tar.gz | |
Change namespace setup
Diffstat (limited to 'kel_cpp_boilerplate/c++/blueprints/main_cpp.hpp')
| -rw-r--r-- | kel_cpp_boilerplate/c++/blueprints/main_cpp.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kel_cpp_boilerplate/c++/blueprints/main_cpp.hpp b/kel_cpp_boilerplate/c++/blueprints/main_cpp.hpp index c3bdb39..931f76e 100644 --- a/kel_cpp_boilerplate/c++/blueprints/main_cpp.hpp +++ b/kel_cpp_boilerplate/c++/blueprints/main_cpp.hpp @@ -7,16 +7,15 @@ constexpr std::string_view main_cpp_file_content = R"(#include <forstio/error.hpp> #include <iostream> -namespace kel { saw::error_or<void> kel_main(int argc, char** argv){ + using namespace kel; (void) argc; (void) argv; return saw::make_void(); } -} int main(int argc, char** argv){ - auto eov = kel::kel_main(argc, argv); + auto eov = kel_main(argc, argv); if(eov.is_error()){ auto& err = eov.get_error(); auto err_msg = err.get_message(); |
