Skip to content

Commit

Permalink
Add inline decl to CORSRules helpers
Browse files Browse the repository at this point in the history
(cherry picked from commit bccc03c)
  • Loading branch information
dranikpg authored and The-EDev committed May 6, 2022
1 parent bc3a742 commit 25dc741
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/crow/middlewares/cors.h
Original file line number Diff line number Diff line change
Expand Up @@ -182,17 +182,17 @@ namespace crow
CORSRules default_ = CORSRules(this);
};

CORSRules& CORSRules::prefix(const std::string& prefix)
inline CORSRules& CORSRules::prefix(const std::string& prefix)
{
return handler_->prefix(prefix);
}

CORSRules& CORSRules::blueprint(const Blueprint& bp)
inline CORSRules& CORSRules::blueprint(const Blueprint& bp)
{
return handler_->blueprint(bp);
}

CORSRules& CORSRules::global()
inline CORSRules& CORSRules::global()
{
return handler_->global();
}
Expand Down

0 comments on commit 25dc741

Please sign in to comment.