Skip to content

Commit 1d80534

Browse files
committed
feat: polystore refactor
1 parent 98e2312 commit 1d80534

File tree

9 files changed

+615
-245
lines changed

9 files changed

+615
-245
lines changed

example/server/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ int server_main( int argc, char* argv[] )
6868
std::atoi(argv[4]));
6969

7070
//srv.wwwroot.use("/log", serve_log_admin(app));
71-
//srv.wwwroot.use("/", serve_static( argv[3] ));
71+
srv.wwwroot.use("/", serve_static( argv[3] ));
7272

7373
app.start();
7474
srv.attach();

include/boost/beast2/detail/except.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
#include <boost/assert/source_location.hpp>
1414
#include <boost/beast2/detail/config.hpp>
15+
#include <boost/core/detail/string_view.hpp>
1516

1617
namespace boost {
1718
namespace beast2 {
@@ -21,9 +22,11 @@ BOOST_BEAST2_DECL void BOOST_NORETURN throw_bad_typeid(
2122
source_location const& loc = BOOST_CURRENT_LOCATION);
2223

2324
BOOST_BEAST2_DECL void BOOST_NORETURN throw_invalid_argument(
25+
core::string_view s = "invalid argument",
2426
source_location const& loc = BOOST_CURRENT_LOCATION);
2527

2628
BOOST_BEAST2_DECL void BOOST_NORETURN throw_logic_error(
29+
core::string_view s = "logic error",
2730
source_location const& loc = BOOST_CURRENT_LOCATION);
2831

2932
} // detail

0 commit comments

Comments
 (0)