diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-30 18:34:15 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-30 18:34:15 (GMT) |
commit | e55c2248b46d5580e5b184d2ff9c773f333308b2 (patch) | |
tree | 78e375caf67e26d4d2857a94d25a508a67bf64b8 /src/pre.h | |
parent | abf1e46f7bc2c31972d36231b4672580704fcc10 (diff) | |
download | Doxygen-e55c2248b46d5580e5b184d2ff9c773f333308b2.zip Doxygen-e55c2248b46d5580e5b184d2ff9c773f333308b2.tar.gz Doxygen-e55c2248b46d5580e5b184d2ff9c773f333308b2.tar.bz2 |
Make commentscan.l reentrant
Diffstat (limited to 'src/pre.h')
-rw-r--r-- | src/pre.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -18,6 +18,8 @@ #ifndef PRE_H #define PRE_H +#include <memory> + class BufStr; class Preprocessor @@ -29,7 +31,7 @@ class Preprocessor void addSearchDir(const char *dir); private: struct Private; - Private *p; + std::unique_ptr<Private> p; }; #endif |