Skip to content

Commit 3c641c0

Browse files
authored
add py_access_lock_ to CorrectionSet
1 parent 2f36933 commit 3c641c0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/correction.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <variant>
77
#include <map>
88
#include <memory>
9+
#include <mutex>
910
#include "correctionlib_version.h"
1011

1112
namespace correction {
@@ -305,6 +306,7 @@ class CorrectionSet {
305306
std::map<std::string, Correction::Ref> corrections_;
306307
std::map<std::string, CompoundCorrection::Ref> compoundcorrections_;
307308
std::string description_;
309+
std::mutex py_access_lock_;
308310
};
309311

310312
} // namespace correction

0 commit comments

Comments
 (0)