We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 081bf79 + a24f15a commit 36ea60bCopy full SHA for 36ea60b
include/crow/routing.h
@@ -22,7 +22,7 @@ namespace crow
22
#ifdef CROW_MAIN
23
uint16_t INVALID_BP_ID{0xFFFF};
24
#else
25
- extern uint16_t INVALID_BP_ID{0xFFFF};
+ extern uint16_t INVALID_BP_ID;
26
#endif
27
/// A base class for all rules.
28
@@ -1332,7 +1332,7 @@ namespace crow
1332
}
1333
1334
else if (!blueprint->static_dir_.empty())
1335
- methods.emplace_back(HTTPMethod::GET);
+ methods.emplace_back(HTTPMethod::Get);
1336
for (auto& rule: blueprint->all_rules_)
1337
{
1338
rule->foreach_method([&methods](unsigned method){
0 commit comments