Commit eb2d101b authored by Stefan Philips's avatar Stefan Philips

[FIX] Wdeprecated-copy warns about rule-of-three-violations -> Use

delete keyword to forbird assignment functions instead of an undefined function
parent 08f1fa3f
...@@ -246,7 +246,7 @@ namespace wlog ...@@ -246,7 +246,7 @@ namespace wlog
* \param rhs The instance which SHOULD be copied over * \param rhs The instance which SHOULD be copied over
* \return A reference to the variable for which assignment was INTENDED. * \return A reference to the variable for which assignment was INTENDED.
*/ */
WStreamedLogger& operator=( const WStreamedLogger& rhs ); WStreamedLogger& operator=( const WStreamedLogger& rhs ) = delete;
boost::shared_ptr< Buffer > m_buffer; //!< Collects the message parts. boost::shared_ptr< Buffer > m_buffer; //!< Collects the message parts.
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment