From 6d99683a91cdcee3e0b5fa5500968e66ea9d79b4 Mon Sep 17 00:00:00 2001
From: Philip Trettner <Philip.Trettner@rwth-aachen.de>
Date: Wed, 22 Aug 2018 10:09:00 +0200
Subject: [PATCH] fixed attribute mesh const

---
 src/polymesh/attribute_base.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/polymesh/attribute_base.hh b/src/polymesh/attribute_base.hh
index 43ccdff..5ceaeed 100644
--- a/src/polymesh/attribute_base.hh
+++ b/src/polymesh/attribute_base.hh
@@ -129,6 +129,6 @@ protected:
 public:
     virtual ~primitive_attribute_base() { deregister_attr(); }
 
-    Mesh const& mesh() { return *mMesh; }
+    Mesh const& mesh() const { return *mMesh; }
 };
 }
-- 
GitLab