Opened 7 years ago
Closed 7 years ago
#12043 closed Bugs (fixed)
attribute_value_impl move constructor doesn’t move value
Reported by: | Owned by: | Andrey Semashev | |
---|---|---|---|
Milestone: | To Be Determined | Component: | log |
Version: | Boost 1.59.0 | Severity: | Optimization |
Keywords: | Cc: |
Description
The move constructor for attribute_value_impl
initialises m_value
by copy; should it use boost::move
instead?
Note:
See TracTickets
for help on using tickets.
You're right, thanks for spotting this. Fixed in https://github.com/boostorg/log/commit/b449b30cfc3967abe905de1dec23ab9e3525b141.