diff --git a/Solver/functionSpace.h b/Solver/functionSpace.h
index 0130c38804694d1f607680646ec7e4302d358556..9007b27ae14ae371c3ac634592cccb5a1d267b86 100644
--- a/Solver/functionSpace.h
+++ b/Solver/functionSpace.h
@@ -315,15 +315,6 @@ class CompositeFunctionSpace : public FunctionSpace<T>
     return ndofs;
   }
 
-  virtual int getKeys(MElement *ele, Dof *keys)
-  {
-    Dof *kptr=keys;
-    for (iterFS it=_spaces.begin(); it!=_spaces.end();++it)
-    {
-      (*it)->getKeys(ele,kptr);
-      kptr+=(*it)->getNumKeys(ele);
-    }
-  }  
   virtual int getKeys(MElement *ele, std::vector<Dof> &keys)
   {
     for (iterFS it=_spaces.begin(); it!=_spaces.end();++it)