Skip to content
Snippets Groups Projects
Commit 5003e764 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

warn

parent ec1d9097
No related branches found
No related tags found
No related merge requests found
......@@ -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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment