Skip to content

Commit c08802c

Browse files
committed
fix rule of 3
1 parent b832ffe commit c08802c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

IntelPresentMon/CommonUtilities/log/ChannelFlusher.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ namespace pmon::util::log
1313
public:
1414
ChannelFlusher(std::weak_ptr<IEntrySink> pChan);
1515
~ChannelFlusher();
16+
17+
ChannelFlusher(const ChannelFlusher&) = delete;
18+
ChannelFlusher & operator=(const ChannelFlusher&) = delete;
19+
ChannelFlusher(ChannelFlusher&&) = delete;
20+
ChannelFlusher & operator=(ChannelFlusher&&) = delete;
21+
1622
private:
1723
std::weak_ptr<IEntrySink> pChan_;
1824
mt::Thread worker_;

0 commit comments

Comments
 (0)