diff --git a/src/libs/cplusplus/GenTemplateInstance.cpp b/src/libs/cplusplus/GenTemplateInstance.cpp
index a7c9d4f6a56b2c25e918133dd49887cb722395da..7282d787adb3752861a92f8b32f0a8745997250b 100644
--- a/src/libs/cplusplus/GenTemplateInstance.cpp
+++ b/src/libs/cplusplus/GenTemplateInstance.cpp
@@ -366,17 +366,3 @@ FullySpecifiedType GenTemplateInstance::operator()(Symbol *symbol)
 
 Control *GenTemplateInstance::control() const
 { return _context.control(); }
-
-int GenTemplateInstance::findSubstitution(Identifier *id) const
-{
-    int index = 0;
-
-    for (; index < _substitution.size(); ++index) {
-        const QPair<Identifier *, FullySpecifiedType> s = _substitution.at(index);
-
-        if (id->isEqualTo(s.first))
-            break;
-    }
-
-    return index;
-}
diff --git a/src/libs/cplusplus/GenTemplateInstance.h b/src/libs/cplusplus/GenTemplateInstance.h
index 69d7d1c885a33a4be1ec6490248f9383bb6cab9a..a59d1a74717ac50368ac97febca2e5693b97f2f4 100644
--- a/src/libs/cplusplus/GenTemplateInstance.h
+++ b/src/libs/cplusplus/GenTemplateInstance.h
@@ -52,7 +52,6 @@ public:
     FullySpecifiedType operator()(Symbol *symbol);
 
     Control *control() const;
-    int findSubstitution(Identifier *id) const;
 
 private:
     Symbol *_symbol;