/build/ListParameters.cc: In member function ‘virtual std::string ListParameters::genText(const drogon::DrTemplateData&)’:
/home/brad/work/1001_drogon/build/ListParameters.cc:22:87: error: ‘utils’ was not declared in this scope
auto para=ListParameters_view_data.get<std::unordered_map<std::string,std::string,utils::internal::SafeStringHash>>("parameters");
To Reproduce
Steps to reproduce the behavior:
Modify main.cc as described
Past the supplied csp code into the named file
Perform the create view
navigate to build folder
run new cmake
run make
Expected behavior
Code compiles
Desktop (please complete the following information):
Notice If you need support or clarification regarding the usage of Drogon in your project, visit the official Drogon support channel at gitter
Please create a new issue only if you think you have found a bug or if have a feature request/enhancement.
Describe the bug Following the instructions here:
https://github.com/drogonframework/drogon/wiki/ENG-06-View
when you come to build you get this error:
/build/ListParameters.cc: In member function ‘virtual std::string ListParameters::genText(const drogon::DrTemplateData&)’: /home/brad/work/1001_drogon/build/ListParameters.cc:22:87: error: ‘utils’ was not declared in this scope
auto para=ListParameters_view_data.get<std::unordered_map<std::string,std::string,utils::internal::SafeStringHash>>("parameters");
To Reproduce Steps to reproduce the behavior:
Expected behavior Code compiles
Desktop (please complete the following information):