From 6643650db25f9ea5b32fe767b4f09e2b6d91a7c4 Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Mon, 16 Jun 2008 12:49:42 -0400 Subject: Bug 6611: read-only variable typo warnings should list alternatives. --- session.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'session.h') diff --git a/session.h b/session.h index 2b6ac79d..6ae44fe2 100644 --- a/session.h +++ b/session.h @@ -1,5 +1,5 @@ // -*- C++ -*- -// Copyright (C) 2005-2007 Red Hat Inc. +// Copyright (C) 2005-2008 Red Hat Inc. // // This file is part of systemtap, and is free software. You can // redistribute it and/or modify it under the terms of the GNU General @@ -167,7 +167,7 @@ struct systemtap_session unsigned num_errors () { return seen_errors.size(); } // void print_error (const parse_error& e); void print_error (const semantic_error& e); - void print_warning (const std::string& w); + void print_warning (const std::string& w, std::string o); // reNB: new POD members likely need to be explicitly cleared in the ctor. }; -- cgit