Skip to content

Commit 36ea60b

Browse files
authored
Merge branch 'master' into feature-#189
2 parents 081bf79 + a24f15a commit 36ea60b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/crow/routing.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace crow
2222
#ifdef CROW_MAIN
2323
uint16_t INVALID_BP_ID{0xFFFF};
2424
#else
25-
extern uint16_t INVALID_BP_ID{0xFFFF};
25+
extern uint16_t INVALID_BP_ID;
2626
#endif
2727
/// A base class for all rules.
2828

@@ -1332,7 +1332,7 @@ namespace crow
13321332
}
13331333
}
13341334
else if (!blueprint->static_dir_.empty())
1335-
methods.emplace_back(HTTPMethod::GET);
1335+
methods.emplace_back(HTTPMethod::Get);
13361336
for (auto& rule: blueprint->all_rules_)
13371337
{
13381338
rule->foreach_method([&methods](unsigned method){

0 commit comments

Comments
 (0)