Skip to content
Snippets Groups Projects
Verified Commit 40281c50 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

libkorder: remove unneeded call to std::move

Variable “init” is of the trivially-copyable type std::initializer_list<int>.

Automatically detected by clang-tidy using performance-move-const-arg check.
parent 2691dd4a
No related merge requests found
......@@ -76,7 +76,7 @@ public:
}
/* Constructor using an initializer list, that gives the contents of the
Symmetry. Typically used for symmetries of the form yⁿ, yⁿuᵐ, yⁿuᵐσᵏ */
Symmetry(std::initializer_list<int> init) : IntSequence(std::move(init))
Symmetry(std::initializer_list<int> init) : IntSequence(init)
{
}
// Constructor of implied symmetry for a symmetry and an equivalence class
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment