Commit b7ec1a95 authored by David Hirschfeld's avatar David Hirschfeld

Added const qualifier to iterator to enable compiling with VS2008

parent e9c00d9d
...@@ -1559,7 +1559,7 @@ void FormatFreeFieldNumbers(const string& name, ...@@ -1559,7 +1559,7 @@ void FormatFreeFieldNumbers(const string& name,
string output; string output;
StringAppendF(&output, "%-35s free:", name.c_str()); StringAppendF(&output, "%-35s free:", name.c_str());
int next_free_number = 1; int next_free_number = 1;
for (set<FieldRange>::iterator i = ranges.begin(); for (set<FieldRange>::const_iterator i = ranges.begin();
i != ranges.end(); ++i) { i != ranges.end(); ++i) {
// This happens when groups re-use parent field numbers, in which // This happens when groups re-use parent field numbers, in which
// case we skip the FieldRange entirely. // case we skip the FieldRange entirely.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment