only do local object copy for the local module
This commit is contained in:
@@ -4,7 +4,7 @@ namespace minimal_lib {
|
||||
|
||||
int getNewValue(int x) {
|
||||
static int value = 0;
|
||||
value = value + 1;
|
||||
value = value + 5;
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user