Skip to content

Commit fea49a3

Browse files
fix: helmet.cpp, apply std::move correctly.
Signed-off-by: Amlal El Mahrouss <[email protected]>
1 parent e75183d commit fea49a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/helmet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace detail {
4343
helmet::
4444
helmet(
4545
helmet_options options) noexcept
46-
: options_(options)
46+
: options_(std::move(options))
4747
{
4848
for (auto& hdr : options_.requestHeaders.headers)
4949
{

0 commit comments

Comments
 (0)