# # # patch "annotate.cc" # from [16bf672ffba67bd58faee41c824727779285a1da] # to [da2b9e34836d772f45c7214d268ebeca7044c0c7] # ============================================================ --- annotate.cc 16bf672ffba67bd58faee41c824727779285a1da +++ annotate.cc da2b9e34836d772f45c7214d268ebeca7044c0c7 @@ -364,7 +364,7 @@ for (std::map::iterator i = revs_to_notations.begin(); i != revs_to_notations.end(); i++) { size_t l = i->second.size(); - i->second.insert(0, max_note_length - l, ' '); + i->second.insert(std::string::size_type(0), max_note_length - l, ' '); } } @@ -381,7 +381,7 @@ { build_revisions_to_annotations(app, revs_to_notations); size_t max_note_length = revs_to_notations.begin()->second.size(); - empty_note.insert(0, max_note_length - 2, ' '); + empty_note.insert(std::string::size_type(0), max_note_length - 2, ' '); } revision_id lastid = nullid;