From 3e169dc3f06f718eab93938c7a756104b846a1a6 Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Thu, 12 Jun 2008 10:51:50 -0400 Subject: Make print_warning parm a const. --- session.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'session.h') diff --git a/session.h b/session.h index ba945149..2b6ac79d 100644 --- a/session.h +++ b/session.h @@ -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 (std::string w); + void print_warning (const std::string& w); // reNB: new POD members likely need to be explicitly cleared in the ctor. }; -- cgit