forked from mia/Aegisub
Add a return value to LogSink::Subscribe to make msvc happy.
Originally committed to SVN as r4396.
This commit is contained in:
parent
8eded1e7c6
commit
139f675ede
1 changed files with 3 additions and 1 deletions
|
@ -110,7 +110,9 @@ void EmitSTDOUT::log(SinkMessage *sm) {
|
|||
int LogSink::Subscribe(Emitter &em) {
|
||||
emitters.push_back(&em);
|
||||
emit = 1;
|
||||
|
||||
/// @todo This won't work since removing it will cause the id's to change,
|
||||
/// it's good enough while this is being written.
|
||||
return emitters.size();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue