Index: src/FilterEngine.cpp |
=================================================================== |
--- a/src/FilterEngine.cpp |
+++ b/src/FilterEngine.cpp |
@@ -160,9 +160,11 @@ |
firstRun = params.size() && params[0]->AsBool(); |
} |
-bool FilterEngine::IsFirstRun() const |
+bool FilterEngine::IsFirstRun() |
{ |
- return firstRun; |
+ bool temp = firstRun; |
+ firstRun = false; |
+ return temp; |
Wladimir Palant
2013/07/11 11:36:21
Debug code?
Oleksandr
2013/07/11 12:18:45
Not actually. My thinking was that the first run a
Wladimir Palant
2013/07/11 12:56:20
I see. I actually suggested in the other review th
|
} |
FilterPtr FilterEngine::GetFilter(const std::string& text) |