diff options
Diffstat (limited to 'src/preprocessing/preprocessing_pass_registry.h')
-rw-r--r-- | src/preprocessing/preprocessing_pass_registry.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/preprocessing/preprocessing_pass_registry.h b/src/preprocessing/preprocessing_pass_registry.h index 37cff676b..e374a6bdb 100644 --- a/src/preprocessing/preprocessing_pass_registry.h +++ b/src/preprocessing/preprocessing_pass_registry.h @@ -42,6 +42,11 @@ class PreprocessingPassRegistry { */ PreprocessingPass* getPass(const std::string& ppName); + /** + Clears all passes from the registry. + */ + void unregisterPasses(); + private: bool hasPass(const std::string& ppName); |