1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

fix(libutil): remove no-op move from const

This commit is contained in:
Sergei Zimmerman 2024-11-08 19:33:57 +03:00
parent 6c3f720e2c
commit 8dd787fbf6

View file

@ -9,7 +9,7 @@ Pos::Pos(const Pos * other)
} }
line = other->line; line = other->line;
column = other->column; column = other->column;
origin = std::move(other->origin); origin = other->origin;
} }
Pos::operator std::shared_ptr<Pos>() const Pos::operator std::shared_ptr<Pos>() const