diff options
author | Stan Cox <scox@redhat.com> | 2008-06-12 10:51:50 -0400 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2008-06-12 10:51:50 -0400 |
commit | 3e169dc3f06f718eab93938c7a756104b846a1a6 (patch) | |
tree | 43d9c580a295ce8987daa5d7ed7a4031dd789a39 /session.h | |
parent | 31193e532728e46831b2a5b7fe0c922df6676d1d (diff) | |
download | systemtap-steved-3e169dc3f06f718eab93938c7a756104b846a1a6.tar.gz systemtap-steved-3e169dc3f06f718eab93938c7a756104b846a1a6.tar.xz systemtap-steved-3e169dc3f06f718eab93938c7a756104b846a1a6.zip |
Make print_warning parm a const.
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. }; |