diff --git a/lib/AST/VTableBuilder.cpp b/lib/AST/VTableBuilder.cpp
index b14ddbfe02ea90dab96541336e8295e9526b2dad..1174094204bae0d02ae417f49f71dc07c92a3b53 100644
--- a/lib/AST/VTableBuilder.cpp
+++ b/lib/AST/VTableBuilder.cpp
@@ -2541,7 +2541,7 @@ private:
     }
   }
 
-  bool VFTableBuilder::NeedsReturnAdjustingThunk(const CXXMethodDecl *MD);
+  bool NeedsReturnAdjustingThunk(const CXXMethodDecl *MD);
 
   /// AddMethods - Add the methods of this base subobject and the relevant
   /// subbases to the vftable we're currently laying out.