diff --git a/FileIO/TetGenInterface.cpp b/FileIO/TetGenInterface.cpp
index 0fe6af93616f3cf59223c945aaa96b0deb9ee016..5f2d907037e896fd3a96f417ae34b6ae3d83048c 100644
--- a/FileIO/TetGenInterface.cpp
+++ b/FileIO/TetGenInterface.cpp
@@ -573,7 +573,7 @@ bool TetGenInterface::writeTetGenSmesh(const std::string &file_name,
 		out << i << "  " << (*nodes[i])[0] << " " << (*nodes[i])[1] << " " << (*nodes[i])[2] << "\n";
 	
 	if (mesh.getDimension() == 2)
-		write2dElements(out, mesh, attribute_points);
+		write2dElements(out, mesh);
 	else
 		write3dElements(out, mesh, attribute_points);
 
@@ -596,8 +596,7 @@ bool TetGenInterface::writeTetGenSmesh(const std::string &file_name,
 }
 
 void TetGenInterface::write2dElements(std::ofstream &out,
-	                                  const MeshLib::Mesh &mesh,
-	                                  std::vector<MeshLib::Node> &attribute_points) const
+	                                  const MeshLib::Mesh &mesh) const
 {
 	// the surfaces header
 	const std::array<unsigned,7> types = MeshInformation::getNumberOfElementTypes(mesh);
diff --git a/FileIO/TetGenInterface.h b/FileIO/TetGenInterface.h
index 8ed6a9b5e13a930abfd14423e7d05ec576d497bd..9601c3781b685ed5c1a5a684c6d385afd17af08e 100644
--- a/FileIO/TetGenInterface.h
+++ b/FileIO/TetGenInterface.h
@@ -181,12 +181,10 @@ private:
 	 * Writes the elements from a 2D mesh to a TetGen smesh-file.
 	 * @param out               the output stream the information is written to.
 	 * @param mesh              mesh containing the subsurface boundary representation used for meshing.
-	 * @param attribute_points  attribute points containing material IDs (if the vector is empty no attributes are written).
 	 * @return returns true on success and false otherwise.
 	 */
 	void write2dElements(std::ofstream &out,
-	                     const MeshLib::Mesh &mesh,
-	                     std::vector<MeshLib::Node> &attribute_points) const;
+	                     const MeshLib::Mesh &mesh) const;
 
 	/**
 	 * Writes the elements from a 3D mesh to a TetGen smesh-file.