| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ce5cacd commit 4e6be4c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -50,11 +50,11 @@ class ContextualVariable { | |||
| 50 | 50 | } | |
| 51 | 51 | ||
| 52 | 52 | private: | |
| 53 | - static thread_local VarType* top_; | ||
| 53 | + static VarType* top_; | ||
| 54 | 54 | }; | |
| 55 | 55 | ||
| 56 | 56 | template <class Derived, class VarType> | |
| 57 | - thread_local VarType* ContextualVariable<Derived, VarType>::top_ = nullptr; | ||
| 57 | + VarType* ContextualVariable<Derived, VarType>::top_ = nullptr; | ||
| 58 | 58 | ||
| 59 | 59 | // Usage: DECLARE_CONTEXTUAL_VARIABLE(VarName, VarType) | |
| 60 | 60 | #define DECLARE_CONTEXTUAL_VARIABLE(VarName, ...) \ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments