This GitLab instance is undergoing maintenance and is operating in read-only mode.

You are on a read-only GitLab instance.
Commit 8426ed8b authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

bug fix to previous commit

parent dc43bd22
......@@ -156,7 +156,7 @@ public:
const SizeType n = keys_.size();
assert(n == values_.size());
for (SizeType i = 0; i < n; ++i)
map[keys_[i]] = map[values_[i]];
map[keys_[i]] = values_[i];
static bool verbose() { return false; }
......@@ -517,12 +517,13 @@ public:
class Readable {
typedef typename Map<String,String,MyCompareType>::Type::iterator MapStringIteratorType;
typedef typename Map<String, String, MyCompareType>::Type MapStringStringType;
typedef typename MapStringStringType::iterator MapStringIteratorType;
typedef typename Map<String,Vector<String>::Type,MyCompareType>::Type::iterator
Readable(const Writeable& inputWriteable)
: file_(inputWriteable.filename()),
......@@ -998,7 +999,7 @@ public:
String file_;
String data_;
//serializr normal mapStrStr_
typename Map<String,String,MyCompareType>::Type mapStrStr_;
MapStringStringType mapStrStr_;
//serializr normal mapStrVec_
typename Map<String,Vector<String>::Type,MyCompareType>::Type mapStrVec_;
//serializr normal labelsForRemoval_
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