allow trivial copyonwrite() on empty vec/mat/...

This commit is contained in:
2021-11-04 14:21:13 +01:00
parent 9c6ab037cf
commit 6715260da7
7 changed files with 32 additions and 6 deletions

View File

@@ -28,6 +28,10 @@ extern int traceback(int flags);
extern void sigtraceback(int sig,int flags);
}
extern const bool _LA_warn_empty_copyonwrite;
extern const bool _LA_count_check;
//exception class for laerror
class LAerror
{