Small const-correctness fix

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50723 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov 2008-05-06 16:34:39 +00:00
parent b90cd834ca
commit aa4948f992
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ namespace {
} }
} }
int llvmcc::Action::Execute() { int llvmcc::Action::Execute() const {
if (VerboseMode) { if (VerboseMode) {
std::cerr << Command_ << " "; std::cerr << Command_ << " ";
std::for_each(Args_.begin(), Args_.end(), print_string); std::for_each(Args_.begin(), Args_.end(), print_string);

View File

@ -28,7 +28,7 @@ namespace llvmcc {
: Command_(C), Args_(A) : Command_(C), Args_(A)
{} {}
int Execute(); int Execute() const;
}; };
} }