From: David Malcolm <dmalcolm@redhat.com>
To: gcc-patches@gcc.gnu.org
Cc: David Malcolm <dmalcolm@redhat.com>
Subject: [PATCH 2/6] Use DISABLE_COPY_AND_ASSIGN in auto_client_timevar
Date: Thu, 05 Dec 2019 20:09:00 -0000 [thread overview]
Message-ID: <20191205200852.19076-3-dmalcolm@redhat.com> (raw)
In-Reply-To: <20191205200852.19076-1-dmalcolm@redhat.com>
gcc/ChangeLog:
* timevar.h (auto_client_timevar): Use DISABLE_COPY_AND_ASSIGN.
---
gcc/timevar.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gcc/timevar.h b/gcc/timevar.h
index c3b6233c35dd..47586f7b5847 100644
--- a/gcc/timevar.h
+++ b/gcc/timevar.h
@@ -281,8 +281,7 @@ class auto_client_timevar
}
private:
- // Private to disallow copies.
- auto_client_timevar (const auto_client_timevar &);
+ DISABLE_COPY_AND_ASSIGN (auto_client_timevar);
timer *m_timer;
};
--
2.21.0
prev parent reply other threads:[~2019-12-05 20:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-05 20:08 [PATCH 0/6] Use DISABLE_COPY_AND_ASSIGN David Malcolm
2019-12-05 20:09 ` [PATCH 3/6] Use DISABLE_COPY_AND_ASSIGN in analyzer-logging.h David Malcolm
2019-12-05 20:09 ` [PATCH 1/6] Use DISABLE_COPY_AND_ASSIGN in auto_timevar David Malcolm
2019-12-05 20:09 ` [PATCH 5/6] [analyzer] Use DISABLE_COPY_AND_ASSIGN in various places David Malcolm
2019-12-05 20:09 ` [PATCH 4/6] Use DISABLE_COPY_AND_ASSIGN in jit-logging.h David Malcolm
2019-12-05 20:09 ` [PATCH 6/6] Use DISABLE_COPY_AND_ASSIGN in auto_delete_vec David Malcolm
2019-12-05 20:09 ` David Malcolm [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191205200852.19076-3-dmalcolm@redhat.com \
--to=dmalcolm@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).