From 7bc56921bb59fe4159bccff45f567f989cf3c999 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 31 Mar 2025 12:46:24 +0200 Subject: meta: rename to astdx, to avoid future confusions. --- examples/cgi/cgi.cc | 6 +++--- examples/must_pass/must_pass.cc | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'examples') diff --git a/examples/cgi/cgi.cc b/examples/cgi/cgi.cc index 4d9b0d8..6b45841 100644 --- a/examples/cgi/cgi.cc +++ b/examples/cgi/cgi.cc @@ -6,7 +6,7 @@ #include #include -#include +#include #include #include @@ -63,7 +63,7 @@ const std::string g_not_found = R"(
-
stdx's Common Gateway Server.
+
astdx's Common Gateway Server.
)"; @@ -74,7 +74,7 @@ int main(int argc, char** argv) { // ... let's assume we serve data. - stdx::web::cgi_writer writer; + astdx::web::cgi_writer writer; std::stringstream ss_file; std::ifstream fp("index.html"); diff --git a/examples/must_pass/must_pass.cc b/examples/must_pass/must_pass.cc index a86cd14..ba927f0 100644 --- a/examples/must_pass/must_pass.cc +++ b/examples/must_pass/must_pass.cc @@ -4,7 +4,7 @@ licensed under GPL-2 license */ -#include +#include #include static const char do_hash(const std::string& in) @@ -24,7 +24,7 @@ static auto do_some(const std::string recv_data, const std::string check_data) const int hash_to_check = do_hash(check_data); /* here we assume this should match opt_hash */ const int opt_hash = do_hash(recv_data); /* we assume that the hash is correct */ - auto opt = stdx::opt(stdx::eval_eq(hash_to_check, opt_hash)); /* do the compute */ + auto opt = astdx::opt(astdx::eval_eq(hash_to_check, opt_hash)); /* do the compute */ return opt; } -- cgit v1.2.3