diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-08-31 13:12:00 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-08-31 13:12:00 +0100 |
commit | 5f29ce0df5ced4301c686ffca154e7f7f2db14ab (patch) | |
tree | 0d9e454df4d03d4ee40458c2d19fd6f0e12d2ae3 /src/libserver/css/css_tokeniser.hxx | |
parent | ec6c7eada0d14e8dac5f5bf3dcc95fc31fd696a2 (diff) | |
download | rspamd-5f29ce0df5ced4301c686ffca154e7f7f2db14ab.tar.gz rspamd-5f29ce0df5ced4301c686ffca154e7f7f2db14ab.zip |
[Fix] Another try to fix references safety
Issue: #3871
Diffstat (limited to 'src/libserver/css/css_tokeniser.hxx')
-rw-r--r-- | src/libserver/css/css_tokeniser.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/css/css_tokeniser.hxx b/src/libserver/css/css_tokeniser.hxx index 36ab33d8a..ac38df463 100644 --- a/src/libserver/css/css_tokeniser.hxx +++ b/src/libserver/css/css_tokeniser.hxx @@ -186,8 +186,8 @@ public: auto next_token(void) -> struct css_parser_token; auto get_offset(void) const { return offset; } - auto pushback_token(struct css_parser_token &&t) const -> void { - backlog.push_back(std::forward<css_parser_token>(t)); + auto pushback_token(const struct css_parser_token &t) const -> void { + backlog.push_back(t); } private: std::string_view input; |