The AssKaraoke parser can just as well take a const AssDialogue for parameter.
Originally committed to SVN as r3027.
This commit is contained in:
parent
92d5324084
commit
1e4ec69f7f
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -50,4 +50,4 @@ struct AssKaraokeSyllable {
|
|||
|
||||
typedef std::vector<AssKaraokeSyllable> AssKaraokeVector;
|
||||
|
||||
void ParseAssKaraokeTags(AssDialogue *line, AssKaraokeVector &syls);
|
||||
void ParseAssKaraokeTags(const AssDialogue *line, AssKaraokeVector &syls);
|
||||
|
|
Loading…
Reference in a new issue