Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/giza-pp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'GIZA++-v2/WordClasses.h')
-rw-r--r--GIZA++-v2/WordClasses.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/GIZA++-v2/WordClasses.h b/GIZA++-v2/WordClasses.h
index 1fea083..d8431f8 100644
--- a/GIZA++-v2/WordClasses.h
+++ b/GIZA++-v2/WordClasses.h
@@ -73,7 +73,7 @@ class WordClasses
else
return 0;
}
- const int operator()(const string&x)const
+ int operator()(const string&x)const
{
if( Sc2int.count(x) )
return Sc2int.find(x)->second;