Permalink
Browse files

A crossplatform build bug fixed

  • Loading branch information...
1 parent fe59615 commit 0cefb7a519bab247b6dea2d1ccd7aa0deb04b709 @cumulusdev cumulusdev committed May 16, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 CumulusLib/sources/Streams.cpp
View
3 CumulusLib/sources/Streams.cpp
@@ -107,7 +107,8 @@ void Streams::destroy(UInt32 id) {
while(it!=_publications.end()) {
if(it->second->publisherId==id) {
((UInt8&)it->second->publisherId) = 0;
- cleanPublication(it++);
+ PublicationIt it2(it++); // Causes a Unix std bug
+ cleanPublication(it2);
} else
++it;
}

0 comments on commit 0cefb7a

Please sign in to comment.