From 0f99555ce4bba502e5213d83c405e88c7b35c628 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 3 Jun 2002 22:10:52 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2755 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/LoopInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp index d99f0f70d92..29558dab8b5 100644 --- a/lib/Analysis/LoopInfo.cpp +++ b/lib/Analysis/LoopInfo.cpp @@ -18,7 +18,7 @@ AnalysisID LoopInfo::ID(AnalysisID::create(), true); //===----------------------------------------------------------------------===// // Loop implementation // -bool Loop::contains(BasicBlock *BB) const { +bool Loop::contains(const BasicBlock *BB) const { return find(Blocks.begin(), Blocks.end(), BB) != Blocks.end(); }