mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +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