summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--examples/cgi/cgi.cc2
-rw-r--r--examples/equiv/equiv.cc1
-rw-r--r--examples/fix/fix.cc2
-rw-r--r--lib/fix/parser.hpp (renamed from lib/fix.hpp)6
4 files changed, 8 insertions, 3 deletions
diff --git a/examples/cgi/cgi.cc b/examples/cgi/cgi.cc
index a0294ab..5586410 100644
--- a/examples/cgi/cgi.cc
+++ b/examples/cgi/cgi.cc
@@ -14,7 +14,7 @@ const std::string g_not_found = R"(
<html>
<head>
<meta charset="UTF-8">
- <title>Uh Oh!</title>
+ <title>error | snu-lib</title>
<style>
body {
font-family: monospace;
diff --git a/examples/equiv/equiv.cc b/examples/equiv/equiv.cc
index 1b7b042..664602e 100644
--- a/examples/equiv/equiv.cc
+++ b/examples/equiv/equiv.cc
@@ -5,7 +5,6 @@
*/
#include <lib/equiv.hpp>
-#include <lib/fix.hpp>
#include <iostream>
/* finally test it */
diff --git a/examples/fix/fix.cc b/examples/fix/fix.cc
index 1ab258e..9b983de 100644
--- a/examples/fix/fix.cc
+++ b/examples/fix/fix.cc
@@ -4,7 +4,7 @@
licensed under the MIT license
*/
-#include <lib/fix.hpp>
+#include <lib/fix/parser.hpp>
#include <iostream>
/* finally test it */
diff --git a/lib/fix.hpp b/lib/fix/parser.hpp
index 4620ad0..83bbd1a 100644
--- a/lib/fix.hpp
+++ b/lib/fix/parser.hpp
@@ -55,6 +55,12 @@ namespace snu::fix
static constexpr auto soh = '|';
static constexpr auto base = 10U;
+ explicit fix_visitor() = default;
+ ~fix_visitor() = default;
+
+ fix_visitor& operator=(const fix_visitor&) = default;
+ fix_visitor(const fix_visitor&) = default;
+
fix_range_data visit(const std::string& in)
{
fix_range_data ret{};