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:
Thiago Farina
2015-04-04 23:56:53 +00:00
committed by Tommi
parent 7351f4689c
commit ae0f0ee79e
41 changed files with 76 additions and 81 deletions

View File

@ -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