Don't use deprecated typedefs
authorMikko Rasa <tdb@tdb.fi>
Sun, 31 Jan 2016 15:37:38 +0000 (17:37 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 31 Jan 2016 15:37:38 +0000 (17:37 +0200)
source/binarywriter.cpp
source/textwriter.cpp

index 087e140..0fbf8ce 100644 (file)
@@ -74,7 +74,7 @@ void BinaryWriter::collect_keywords(const Statement &st)
                dict[key] = next_kwd_id++;
        }
 
-       for(ValueArray::const_iterator i = st.args.begin(); i!=st.args.end(); ++i)
+       for(vector<Value>::const_iterator i = st.args.begin(); i!=st.args.end(); ++i)
        {
                char sig = i->get_signature();
                string str;
index f37b733..9218422 100644 (file)
@@ -30,7 +30,7 @@ void TextWriter::write_(const Statement &st, unsigned level)
        string indent(level, '\t');
 
        out.write(format("%s%s", indent, st.keyword));
-       for(ValueArray::const_iterator i = st.args.begin(); i!=st.args.end(); ++i)
+       for(vector<Value>::const_iterator i = st.args.begin(); i!=st.args.end(); ++i)
        {
                out.put(' ');
                if(i->get_signature()==StringType::signature)