summaryrefslogtreecommitdiff
path: root/Source/VCGeneration
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2015-01-26 22:24:28 +0100
committerGravatar wuestholz <unknown>2015-01-26 22:24:28 +0100
commit34a68b3dca1fff4cabc86bc692b22b4a88c5152c (patch)
tree0780e02acc536285f8f1ff0eafd92e0c4ee96531 /Source/VCGeneration
parent40537b5a8339208370894ef0771d288fda351068 (diff)
Minor change
Diffstat (limited to 'Source/VCGeneration')
-rw-r--r--Source/VCGeneration/VC.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/VCGeneration/VC.cs b/Source/VCGeneration/VC.cs
index 8a549e9d..45ce6a02 100644
--- a/Source/VCGeneration/VC.cs
+++ b/Source/VCGeneration/VC.cs
@@ -557,7 +557,7 @@ namespace VC {
this.gotoCmdOrigins = gotoCmdOrigins;
this.parent = par;
this.impl = impl;
- this.id = current_id++;
+ this.id = Interlocked.Increment(ref current_id);
}
public double Cost {