forked from mia/Aegisub
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
72b94648e8
commit
e4ef6ebf72
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