From c5d33cef760baa94224aac7b538b2a75c469b464 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 1 Mar 2007 23:20:52 +0000 Subject: [PATCH] Remove virtual keyword from method that doesn't need to be virtual. llvm-svn: 34817 --- include/llvm/Constants.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index 7257d2645a7..f17e02a4aa7 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -130,7 +130,7 @@ public: /// This is just a convenience method to make client code smaller for a /// common case. /// @brief Determine if the value is one. - virtual bool isUnitValue() const { + bool isUnitValue() const { return Val == 1; }