From 4e08955ed5c4029c70f8ff6fda2b0ca4104a7698 Mon Sep 17 00:00:00 2001 From: Jiri Pittner Date: Sat, 13 Nov 2021 19:06:05 +0100 Subject: [PATCH] _LA_count_check not const --- laerror.cc | 2 +- laerror.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/laerror.cc b/laerror.cc index 598cd47..3d73396 100644 --- a/laerror.cc +++ b/laerror.cc @@ -44,7 +44,7 @@ namespace LA { GPU_START gpu_start_instant; #endif -const bool _LA_count_check=true; +bool _LA_count_check=true; //intentionally not const const bool _LA_warn_empty_copyonwrite=false; extern "C" void _findme(void) {}; //for autoconf test we need a function with C linkage diff --git a/laerror.h b/laerror.h index ac9c962..336c1c4 100644 --- a/laerror.h +++ b/laerror.h @@ -29,7 +29,7 @@ extern void sigtraceback(int sig,int flags); } extern const bool _LA_warn_empty_copyonwrite; -extern const bool _LA_count_check; +extern bool _LA_count_check; //intentionally not const //exception class for laerror