mirror of https://github.com/CrowCpp/Crow.git
Remove debug statements.
This commit is contained in:
parent
e1085de237
commit
603ceb377a
|
@ -173,9 +173,6 @@ namespace crow
|
|||
{
|
||||
auto optional_ctx = find_context(tag_name(action), stack);
|
||||
auto& ctx = optional_ctx.second;
|
||||
std::cerr << "tag: " << tag_name(action) << std::endl;
|
||||
std::cerr << "ctx type: " << get_type_str(ctx.t()) << std::endl;
|
||||
std::cerr << "ctx: " << dump(ctx) << std::endl;
|
||||
switch(ctx.t())
|
||||
{
|
||||
case json::type::Number:
|
||||
|
@ -231,9 +228,6 @@ namespace crow
|
|||
}
|
||||
|
||||
auto& ctx = optional_ctx.second;
|
||||
std::cerr << "tag: " << tag_name(action) << std::endl;
|
||||
std::cerr << "ctx type: " << get_type_str(ctx.t()) << std::endl;
|
||||
std::cerr << "ctx: " << dump(ctx) << std::endl;
|
||||
switch(ctx.t())
|
||||
{
|
||||
case json::type::List:
|
||||
|
|
|
@ -10,7 +10,7 @@ set(TEST_SRCS
|
|||
)
|
||||
|
||||
add_executable(mustachetest ${TEST_SRCS})
|
||||
set_target_properties(mustachetest PROPERTIES COMPILE_FLAGS "-Wall -Werror -std=c++14 -g -O0")
|
||||
set_target_properties(mustachetest PROPERTIES COMPILE_FLAGS "-Wall -Werror -std=c++14")
|
||||
|
||||
file(COPY DIRECTORY . DESTINATION ${CMAKE_CURRENT_BINARY_DIR} FILES_MATCHING PATTERN "*.json")
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ int main()
|
|||
return "";
|
||||
});
|
||||
context ctx(data);
|
||||
cerr << dump(ctx) << endl;
|
||||
cout << templ.render(ctx);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue