Skip to content
Snippets Groups Projects
Commit 9e7d2bf3 authored by Lars Bilke's avatar Lars Bilke
Browse files

Static friend functions must be declared.

parent 63db9fc4
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include "PointWithID.h" #include "PointWithID.h"
#include "Mesh.h" #include "Mesh.h"
#include "MshEditor.h" #include "MshEditor.h"
#include "../Gui/DataView/MshLayerMapper.h" // TODO: Move MshLayerMapper to MeshLib
namespace MeshLib { namespace MeshLib {
...@@ -32,10 +33,13 @@ class Node : public GeoLib::PointWithID ...@@ -32,10 +33,13 @@ class Node : public GeoLib::PointWithID
{ {
/* friend functions: */ /* friend functions: */
friend MeshLib::Mesh* MshEditor::removeMeshNodes(MeshLib::Mesh* mesh, const std::vector<std::size_t> &nodes); friend MeshLib::Mesh* MshEditor::removeMeshNodes(MeshLib::Mesh* mesh, const std::vector<std::size_t> &nodes);
friend int MshLayerMapper::LayerMapping(MeshLib::Mesh* msh, const std::string &rasterfile,
const std::size_t nLayers, const std::size_t layer_id,
bool removeNoDataValues);
/* friend classes: */ /* friend classes: */
friend class Mesh; friend class Mesh;
friend class MeshCoarsener; friend class MeshCoarsener;
friend class MshLayerMapper;
public: public:
/// Constructor using a coordinate array /// Constructor using a coordinate array
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment