summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2008-06-12 10:51:50 -0400
committerStan Cox <scox@redhat.com>2008-06-12 10:51:50 -0400
commit3e169dc3f06f718eab93938c7a756104b846a1a6 (patch)
tree43d9c580a295ce8987daa5d7ed7a4031dd789a39 /elaborate.cxx
parent31193e532728e46831b2a5b7fe0c922df6676d1d (diff)
downloadsystemtap-steved-3e169dc3f06f718eab93938c7a756104b846a1a6.tar.gz
systemtap-steved-3e169dc3f06f718eab93938c7a756104b846a1a6.tar.xz
systemtap-steved-3e169dc3f06f718eab93938c7a756104b846a1a6.zip
Make print_warning parm a const.
Diffstat (limited to 'elaborate.cxx')
-rw-r--r--elaborate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/elaborate.cxx b/elaborate.cxx
index d0665c90..e9746cdd 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -1229,7 +1229,7 @@ systemtap_session::print_error (const semantic_error& e)
}
void
-systemtap_session::print_warning (string message_str)
+systemtap_session::print_warning (const string& message_str)
{
// Duplicate elimination
if (seen_warnings.find (message_str) == seen_warnings.end())