The AssKaraoke parser can just as well take a const AssDialogue for parameter.

Originally committed to SVN as r3027.
This commit is contained in:
Niels Martin Hansen 2009-06-07 00:20:30 +00:00
parent 92d5324084
commit 1e4ec69f7f
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ AssKaraokeSyllable::AssKaraokeSyllable()
tag = 0;
}
void ParseAssKaraokeTags(AssDialogue *line, AssKaraokeVector &syls)
void ParseAssKaraokeTags(const AssDialogue *line, AssKaraokeVector &syls)
{
// Assume line already has tags parsed
AssKaraokeSyllable syl;

View file

@ -50,4 +50,4 @@ struct AssKaraokeSyllable {
typedef std::vector<AssKaraokeSyllable> AssKaraokeVector;
void ParseAssKaraokeTags(AssDialogue *line, AssKaraokeVector &syls);
void ParseAssKaraokeTags(const AssDialogue *line, AssKaraokeVector &syls);