diff options
author | Paul Wankadia <junyer@google.com> | 2016-08-16 23:42:11 +1000 |
---|---|---|
committer | Paul Wankadia <junyer@google.com> | 2016-08-16 13:45:53 +0000 |
commit | f408be0863f6ecc8cda0371581e7a748f4132ee9 (patch) | |
tree | 6c7607d8098f2ae900301159247c834e30d05aa7 /re2/mimics_pcre.cc | |
parent | 95ce0ccb89ca37503a6dd8d032d45e330254aacf (diff) | |
download | regex-re2-f408be0863f6ecc8cda0371581e7a748f4132ee9.tar.gz |
Ditch the DISALLOW_COPY_AND_ASSIGN macro.
Change-Id: Ib20ff382eee55eaef0d59f1af7e2f4571662f20e
Reviewed-on: https://code-review.googlesource.com/6833
Reviewed-by: Paul Wankadia <junyer@google.com>
Diffstat (limited to 're2/mimics_pcre.cc')
-rw-r--r-- | re2/mimics_pcre.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/re2/mimics_pcre.cc b/re2/mimics_pcre.cc index 0a55004..8a57447 100644 --- a/re2/mimics_pcre.cc +++ b/re2/mimics_pcre.cc @@ -124,7 +124,8 @@ class EmptyStringWalker : public Regexp::Walker<bool> { } private: - DISALLOW_COPY_AND_ASSIGN(EmptyStringWalker); + EmptyStringWalker(const EmptyStringWalker&) = delete; + EmptyStringWalker& operator=(const EmptyStringWalker&) = delete; }; // Called after visiting re's children. child_args contains the return |