fix compilation on windows

This commit is contained in:
Laurent Perron
2017-10-02 08:55:08 +00:00
parent 8f759d2324
commit 376c46a584

View File

@@ -302,8 +302,8 @@ class SparseVector {
// for (const EntryIndex i : sparse_vector.AllEntryIndices()) { ... }
// TODO(user): consider removing this, in favor of the natural range
// iteration.
util::IntegerRange<EntryIndex> AllEntryIndices() const {
return util::IntegerRange<EntryIndex>(EntryIndex(0), num_entries_);
::util::IntegerRange<EntryIndex> AllEntryIndices() const {
return ::util::IntegerRange<EntryIndex>(EntryIndex(0), num_entries_);
}
// Returns true if this vector is exactly equal to the given one, i.e. all its