From cc7550a68c542e7090bfdc3bb842b8a1670ca16b Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Tue, 6 May 2008 16:34:39 +0000 Subject: [PATCH] Small const-correctness fix llvm-svn: 50723 --- tools/llvmc2/Action.cpp | 2 +- tools/llvmc2/Action.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/llvmc2/Action.cpp b/tools/llvmc2/Action.cpp index 82a1e0c4c96..8d34910286a 100644 --- a/tools/llvmc2/Action.cpp +++ b/tools/llvmc2/Action.cpp @@ -48,7 +48,7 @@ namespace { } } -int llvmcc::Action::Execute() { +int llvmcc::Action::Execute() const { if (VerboseMode) { std::cerr << Command_ << " "; std::for_each(Args_.begin(), Args_.end(), print_string); diff --git a/tools/llvmc2/Action.h b/tools/llvmc2/Action.h index 43495c463aa..3f7b33bbc71 100644 --- a/tools/llvmc2/Action.h +++ b/tools/llvmc2/Action.h @@ -28,7 +28,7 @@ namespace llvmcc { : Command_(C), Args_(A) {} - int Execute(); + int Execute() const; }; }