diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2011-03-23 22:53:44 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2011-03-23 22:53:44 -0400 |
commit | 68b73d03e52a0e0e92e3cfd2412e5a280e9316a0 (patch) | |
tree | 12a07931a122ad569b4d3ac819a1badbb07782c7 /decoder | |
parent | 6353b6e86b90d42513de2aad97c419031d01dca3 (diff) |
remove thread-local stuff which was fragile on some build systems
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/trule.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/decoder/trule.cc b/decoder/trule.cc index fda62741..40235542 100644 --- a/decoder/trule.cc +++ b/decoder/trule.cc @@ -5,7 +5,6 @@ #include "stringlib.h" #include "tdict.h" #include "rule_lexer.h" -#include "threadlocal.h" using namespace std; @@ -99,7 +98,7 @@ TRule* TRule::CreateRuleMonolingual(const string& rule) { namespace { // callback for lexer -THREADLOCAL int n_assigned=0; +int n_assigned=0; void assign_trule(const TRulePtr& new_rule, const unsigned int ctf_level, const TRulePtr& coarse_rule, void* extra) { TRule *assignto=(TRule *)extra; *assignto=*new_rule; |