Files
toml11/toml
Giel van Schijndel aff6f0f574 fix: don't force a copy of std::string fname when moving is an option
Taking this parameter by const reference forces us to copy it (because
we know we're going to store it). Taking it by r-value reference would
suggest that we _might_ take ownership over it and would also force the
user to make a copy if they wish to retain the original value.

Taking this parameter by value however clearly gives us ownership of its
content without forcing a copy if it's implicit conversion from
`const char*` or explicitly handed over to us by the user via std::move.
2022-06-02 14:39:10 +02:00
..
2022-05-29 00:37:39 +09:00
2021-10-09 11:12:58 +09:00
2021-08-27 19:52:45 -04:00
2021-05-25 21:40:41 +09:00
2021-05-25 21:40:41 +09:00
2022-03-16 22:39:52 +09:00
2021-08-27 19:52:45 -04:00