Closed UInSomnia closed 3 months ago
const SafeStringMap<std::string> &getParameters() const;
SafeStringMap
The type of the map has been changed in one of the recent commits to unordered_map
, and it uses a custom hash on top of that.
I believe it is now typed drogon::utils::SafeStringMap
, or to be safe, you can use auto
.
Thanks for the answer! And I wrote it that way and it works fine. Do you have Namespace Utils in inline?
drogon::SafeStringMap
I don't know what you mean, but I forgot to also let you know it should be const auto&
to make sure it doesn't copy the entire map.
Can you elaborate further on what you mean?
You say to use
drogon::utils::SafeStringMap
However, I have a successful build like this
drogon::SafeStringMap
What could be the explanation for this?
I looked at the inside of the library. The Safe String Map is located in the drogon namespace, without namespace utils
Yeah it probably resides in the drogon
namespace, I was unsure whether it's in drogon::utils
or somewhere else.
I'll close this issue as solved.
Hello! Can you tell me what the error is and how to fix it? The code used to work, I didn't change anything. Docker crashed in my Windows, I restored Docker. And now this error appears during assembly
Thank you in advance for your help!