From c8e2aa97722eb67aee51381d4b7ea564a64f2b7f Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <github@naumov.de>
Date: Mon, 15 Mar 2021 16:31:53 +0100
Subject: [PATCH] [PL/PV] Constify return of getActiveElementIDs().

---
 ProcessLib/ProcessVariable.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ProcessLib/ProcessVariable.h b/ProcessLib/ProcessVariable.h
index c62fe569fed..afa8edfefb2 100644
--- a/ProcessLib/ProcessVariable.h
+++ b/ProcessLib/ProcessVariable.h
@@ -67,7 +67,7 @@ public:
 
     void updateDeactivatedSubdomains(double const time);
 
-    std::vector<std::size_t>& getActiveElementIDs() const
+    std::vector<std::size_t> const& getActiveElementIDs() const
     {
         return _ids_of_active_elements;
     }
-- 
GitLab