Cleanup: Remove DISALLOW_EVIL_CONSTRUCTORS macro.
Just use the less-evil version, DISALLOW_COPY_AND_ASSIGN macro. This should help with my TODO in https://chromium.googlesource.com/chromium/src/+/master/base/macros.h#33 Tested on Linux with the following command lines: $ rm -rf out/ $ gn gen //out/Debug --args='is_debug=true target_cpu="x64" build_with_chromium=false' $ ninja -C out/Debug BUG=None TEST=see above R=tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/50599004 Patch from Thiago Farina <tfarina@chromium.org>. Cr-Commit-Position: refs/heads/master@{#8927}
This commit is contained in:
@ -130,7 +130,7 @@ class AsyncPacketSocket : public sigslot::has_slots<> {
|
||||
sigslot::signal2<AsyncPacketSocket*, AsyncPacketSocket*> SignalNewConnection;
|
||||
|
||||
private:
|
||||
DISALLOW_EVIL_CONSTRUCTORS(AsyncPacketSocket);
|
||||
DISALLOW_COPY_AND_ASSIGN(AsyncPacketSocket);
|
||||
};
|
||||
|
||||
} // namespace rtc
|
||||
|
||||
Reference in New Issue
Block a user