diff options
-rw-r--r-- | src/passes/Inlining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/Inlining.cpp b/src/passes/Inlining.cpp index 9e0d3eb67..e67a0f35b 100644 --- a/src/passes/Inlining.cpp +++ b/src/passes/Inlining.cpp @@ -103,7 +103,7 @@ struct FunctionInfo { } // Provide an explicit = operator as the |refs| field lacks one by default. - FunctionInfo& operator=(FunctionInfo& other) { + FunctionInfo& operator=(const FunctionInfo& other) { refs = other.refs.load(); size = other.size; hasCalls = other.hasCalls; |