Remove debug statements.

This commit is contained in:
Igor Mróz 2020-10-19 18:31:07 +02:00
parent e1085de237
commit 603ceb377a
No known key found for this signature in database
GPG Key ID: F32A9B94C1DC1AF2
4 changed files with 1 additions and 8 deletions

View File

@ -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:

View File

@ -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")

View File

@ -28,7 +28,6 @@ int main()
return "";
});
context ctx(data);
cerr << dump(ctx) << endl;
cout << templ.render(ctx);
return 0;
}