Skip to content

Commit

Permalink
Fix the issue in view generation by including the missing header file…
Browse files Browse the repository at this point in the history
… drogon/utils/Utilities.h (drogonframework#2248)

Co-authored-by: dlinten <[email protected]>
  • Loading branch information
ereynalabs and dlinten authored Feb 6, 2025
1 parent f5de41f commit e155df9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drogon_ctl/create_view.cc
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ void create_view::newViewSourceFile(std::ofstream &file,
"automatically,don't modify it!\n";
file << "#include \"" << namespacePrefix << className << ".h\"\n";
file << "#include <drogon/utils/OStringStream.h>\n";
file << "#include <drogon/utils/Utilities.h>\n";
file << "#include <string>\n";
file << "#include <map>\n";
file << "#include <vector>\n";
Expand Down

0 comments on commit e155df9

Please sign in to comment.