mirror of
https://github.com/NixOS/nix.git
synced 2025-11-16 23:42:43 +01:00
add and fix -Wdeprecated-copy
*so* many warnings, from only two definitions Change-Id: If2561cd500c05a1e33cce984faf9f3e42a8a95ac Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
This commit is contained in:
parent
c9e7239e22
commit
52a16b7e59
3 changed files with 5 additions and 1 deletions
|
|
@ -182,6 +182,8 @@ public:
|
|||
return *this;
|
||||
}
|
||||
|
||||
HintFmt & operator=(HintFmt const & rhs) = default;
|
||||
|
||||
std::string str() const
|
||||
{
|
||||
return fmt.str();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue