From aa4948f9924a001fb151608deb18ff11de362053 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50723 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; }; }