aboutsummaryrefslogtreecommitdiff
path: root/equality.h
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-28 21:12:31 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-28 21:12:31 +0000
commit4d05b61640a3668740029b6b660c136975690ca3 (patch)
tree816a39318cf25a492bac3026fab8d5ad5d2a9ea5 /equality.h
parentc83ae6994732498fd9161cc8f009dbf64f4bde37 (diff)
parenteb4bb7c513362eea24833fd9989ef6b7c6dccd98 (diff)
downloadstg-4d05b61640a3668740029b6b660c136975690ca3.tar.gz
Snap for 11510257 from eb4bb7c513362eea24833fd9989ef6b7c6dccd98 to simpleperf-releasesimpleperf-release
Change-Id: I797e552e747b1f1708d278793755eddcb245950d
Diffstat (limited to 'equality.h')
-rw-r--r--equality.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/equality.h b/equality.h
index 0747073..77cd1a4 100644
--- a/equality.h
+++ b/equality.h
@@ -58,7 +58,7 @@ struct Equals {
}
// Comparison opened, need to close it before returning.
- bool result = graph.Apply2<bool>(*this, id1, id2);
+ const auto result = graph.Apply2<bool>(*this, id1, id2);
// Check for a complete Strongly-Connected Component.
auto comparisons = scc.Close(*handle);