diff options
author | Jeff McGlynn <jwmcglynn@google.com> | 2019-01-24 16:43:50 -0800 |
---|---|---|
committer | Jeff McGlynn <jeff@jeffmcglynn.com> | 2019-01-24 17:11:52 -0800 |
commit | 4e0cc971ea82fbb985f27933af23d1afb3994290 (patch) | |
tree | 2914807c2be3ea0a0f2fc29d5faf97c19fabb368 /src/decoder/partition.cc | |
parent | f9809cf95cd592923e614f16427c4303c0eec64c (diff) |
Sync/format build files
* Always compile astc_utils with -O3, since it is very slow when built
with fastbuild.
* Add missing licenses() declarations.
* Declare test library as testonly.
* Run BUILD file formatter.
Additionally, fix one ambiguous usage of auto in src/decoder/parition.cc
Diffstat (limited to 'src/decoder/partition.cc')
-rw-r--r-- | src/decoder/partition.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/partition.cc b/src/decoder/partition.cc index 43ff6f0..8099c19 100644 --- a/src/decoder/partition.cc +++ b/src/decoder/partition.cc @@ -169,7 +169,7 @@ struct PartitionHasher { // The return value will be the hash of the assignment according to this // mapping - const auto seed = 0; + const size_t seed = 0; return std::accumulate(part.assignment.begin(), part.assignment.end(), seed, [&mapping](size_t seed, const int& subset) { std::hash<size_t> hasher; |