forked from mia/Aegisub
Fix compilation with gcc 4.8. Closes #1756.
This commit is contained in:
parent
a376ed90b9
commit
9774352a77
1 changed files with 2 additions and 2 deletions
|
@ -709,8 +709,8 @@ void AudioTimingControllerDialogue::RegenerateInactiveLines()
|
||||||
{
|
{
|
||||||
using pred = bool(*)(AssDialogue const&);
|
using pred = bool(*)(AssDialogue const&);
|
||||||
auto predicate = inactive_line_comments->GetBool()
|
auto predicate = inactive_line_comments->GetBool()
|
||||||
? (pred)[](AssDialogue const&) { return true; }
|
? static_cast<pred>([](AssDialogue const&) { return true; })
|
||||||
: (pred)[](AssDialogue const& d) { return !d.Comment; };
|
: static_cast<pred>([](AssDialogue const& d) { return !d.Comment; });
|
||||||
|
|
||||||
bool was_empty = inactive_lines.empty();
|
bool was_empty = inactive_lines.empty();
|
||||||
inactive_lines.clear();
|
inactive_lines.clear();
|
||||||
|
|
Loading…
Reference in a new issue