only do local object copy for the local module

This commit is contained in:
2025-04-28 00:07:45 +03:00
parent b0d3c57615
commit 7d2ac662d0
4 changed files with 49 additions and 38 deletions

View File

@@ -4,7 +4,7 @@ namespace minimal_lib {
int getNewValue(int x) {
static int value = 0;
value = value + 1;
value = value + 5;
return value;
}