From 68b73d03e52a0e0e92e3cfd2412e5a280e9316a0 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Wed, 23 Mar 2011 22:53:44 -0400 Subject: remove thread-local stuff which was fragile on some build systems --- decoder/trule.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'decoder') 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; -- cgit v1.2.3