CobaltFusion / DebugViewPP

DebugView++, collects, views, filters your application logs, and highlights information that is important to you!
Boost Software License 1.0
1k stars 143 forks source link

Copy view #284

Open janwilmans opened 7 years ago

janwilmans commented 7 years ago

It would be good to be able to copy an existing view, including its logview-data structure (so no new re-filtering) is needed.

janwilmans commented 7 years ago

Right, but re-filtering is now done, because class LogView cannot be copied. It contains for example:

std::unique_ptr<HICON__,fusion::Win32::GdiObjectDeleter<HICON>>::unique_ptr

which is a unique_ptr, so by nature not copyable. we need a custom and efficient copy-constructor for class LogView to do this.