Add a return value to LogSink::Subscribe to make msvc happy.

Originally committed to SVN as r4396.
This commit is contained in:
Amar Takhar 2010-06-01 08:08:33 +00:00
parent 8eded1e7c6
commit 139f675ede

View file

@ -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();
}