]> git.tdb.fi Git - libs/datafile.git/commitdiff
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 087e140ddd5d1d1f79173afac9d3cb9f7e57fb8b..0fbf8ce503058f5aaa89734250856777e083409e 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 f37b7339e462f35f1cc5461c60dbb60a8a8a3b4b..921842279f133eabf555d57d97e609d563dacb72 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)