From 5003e7642d891d51377f280ad64b3fd0b82d0aa2 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 6 Dec 2012 21:24:39 +0000 Subject: [PATCH] warn --- Post/PView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Post/PView.cpp b/Post/PView.cpp index 72a4004fdf..7628e36a50 100644 --- a/Post/PView.cpp +++ b/Post/PView.cpp @@ -36,6 +36,7 @@ void PView::_init(int num) bool replaced = false; for(unsigned int i = 0; i < list.size(); i++){ if(list[i]->getNum() == _num){ + // warning: this can potentially break aliases Msg::Info("Replacing View[%d]", i); replaced = true; delete list[i]; -- GitLab