mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
[C++] There can be only one stdplane
Fixes: https://github.com/dankamongmen/notcurses/issues/409 Standard planes can be duplicated but the copy must not be treated as a standard plane. There can be only one :) Make it so.
This commit is contained in:
parent
c43006c2bf
commit
73b13e0fd5
@ -985,7 +985,6 @@ namespace ncpp
|
||||
if (ret == nullptr)
|
||||
throw init_error ("notcurses failed to duplicate plane");
|
||||
|
||||
is_stdplane = other.is_stdplane;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user