summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/cgi/cgi.cc6
-rw-r--r--examples/must_pass/must_pass.cc4
2 files changed, 5 insertions, 5 deletions
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 <fstream>
#include <sstream>
-#include <stdx/cgi.hpp>
+#include <astdx/cgi.hpp>
#include <string>
#include <filesystem>
@@ -63,7 +63,7 @@ const std::string g_not_found = R"(
<tr><td colspan="3"><hr></td></tr>
</table>
- <address>stdx's Common Gateway Server.</address>
+ <address>astdx's Common Gateway Server.</address>
</body>
</html>
)";
@@ -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 <stdx/opt.hpp>
+#include <astdx/opt.hpp>
#include <string>
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;
}