From 9d97c6c5d3f125dd0ed23ccfa4bf0bb728a753fa Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 31 Jan 2016 17:37:38 +0200 Subject: [PATCH] Don't use deprecated typedefs --- source/binarywriter.cpp | 2 +- source/textwriter.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/binarywriter.cpp b/source/binarywriter.cpp index 087e140..0fbf8ce 100644 --- a/source/binarywriter.cpp +++ b/source/binarywriter.cpp @@ -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::const_iterator i = st.args.begin(); i!=st.args.end(); ++i) { char sig = i->get_signature(); string str; diff --git a/source/textwriter.cpp b/source/textwriter.cpp index f37b733..9218422 100644 --- a/source/textwriter.cpp +++ b/source/textwriter.cpp @@ -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::const_iterator i = st.args.begin(); i!=st.args.end(); ++i) { out.put(' '); if(i->get_signature()==StringType::signature) -- 2.43.0