Skip to content

Commit 25dc741

Browse files
dranikpgThe-EDev
authored andcommitted
Add inline decl to CORSRules helpers
(cherry picked from commit bccc03c)
1 parent bc3a742 commit 25dc741

File tree

1 file changed

+3
-3
lines changed
  • include/crow/middlewares

1 file changed

+3
-3
lines changed

include/crow/middlewares/cors.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -182,17 +182,17 @@ namespace crow
182182
CORSRules default_ = CORSRules(this);
183183
};
184184

185-
CORSRules& CORSRules::prefix(const std::string& prefix)
185+
inline CORSRules& CORSRules::prefix(const std::string& prefix)
186186
{
187187
return handler_->prefix(prefix);
188188
}
189189

190-
CORSRules& CORSRules::blueprint(const Blueprint& bp)
190+
inline CORSRules& CORSRules::blueprint(const Blueprint& bp)
191191
{
192192
return handler_->blueprint(bp);
193193
}
194194

195-
CORSRules& CORSRules::global()
195+
inline CORSRules& CORSRules::global()
196196
{
197197
return handler_->global();
198198
}

0 commit comments

Comments
 (0)