From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id E8BA93860C35 for ; Mon, 30 Nov 2020 19:58:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E8BA93860C35 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-49-bL46cLQxOq2xeo77rTHeGg-1; Mon, 30 Nov 2020 14:58:45 -0500 X-MC-Unique: bL46cLQxOq2xeo77rTHeGg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 04408107ACF6 for ; Mon, 30 Nov 2020 19:58:45 +0000 (UTC) Received: from localhost.localdomain (ovpn-114-226.phx2.redhat.com [10.3.114.226]) by smtp.corp.redhat.com (Postfix) with ESMTP id B181A5D6A8; Mon, 30 Nov 2020 19:58:44 +0000 (UTC) From: Tom Stellard To: systemtap@sourceware.org Cc: =?UTF-8?q?Timm=20B=C3=A4der?= Subject: [PATCH 3/8] Add some override specifiers where missing Date: Mon, 30 Nov 2020 19:58:36 +0000 Message-Id: <20201130195841.26142-4-tstellar@redhat.com> In-Reply-To: <20201130195841.26142-1-tstellar@redhat.com> References: <20201130195841.26142-1-tstellar@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-14.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2020 19:58:50 -0000 From: Timm Bäder --- elaborate.h | 4 ++-- translate.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/elaborate.h b/elaborate.h index ee68e7b0b..860068620 100644 --- a/elaborate.h +++ b/elaborate.h @@ -207,8 +207,8 @@ struct derived_probe: public probe // return arguments of probe if there virtual void getargs (std::list &) const {} void printsig_nested (std::ostream &o) const; - virtual void collect_derivation_chain (std::vector &probes_list) const; - virtual void collect_derivation_pp_chain (std::vector &pp_list) const; + virtual void collect_derivation_chain (std::vector &probes_list) const override; + virtual void collect_derivation_pp_chain (std::vector &pp_list) const override; std::string derived_locations (bool firstFrom = true); virtual void print_dupe_stamp(std::ostream&) {} diff --git a/translate.cxx b/translate.cxx index 53f1d0725..f763c2277 100644 --- a/translate.cxx +++ b/translate.cxx @@ -300,8 +300,8 @@ struct c_tmpcounter cxx_final: public c_unparser // var_declare(), which will forward to the parent c_unparser for output; void var_declare(string const&, var const& v) cxx_override; - void emit_function (functiondecl* fd); - void emit_probe (derived_probe* dp); + void emit_function (functiondecl* fd) override; + void emit_probe (derived_probe* dp) override; const string& get_compiled_printf (bool print_to_stream, const string& format) cxx_override; -- 2.26.2