Fix compile errors in dynamic suffix array code

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@3065 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
bhaddow 2010-04-07 11:02:04 +00:00
parent d30212f19d
commit 639c8e5187
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#ifndef moses_File_h
#define moses_File_h
#ifndef moses_DynSAInclude_File_h
#define moses_DynSAInclude_File_h
#include <iostream>
#include <fstream>
@ -14,6 +14,7 @@
namespace Moses {
typedef std::string FileExtension;
class FileHandler: public std::fstream {
public:
// descriptors for stdin and stdout

View File

@ -5,6 +5,8 @@
#include "TargetPhrase.h"
#include <iomanip>
using namespace std;
namespace Moses {
PhraseDictionaryDynSuffixArray::PhraseDictionaryDynSuffixArray(size_t numScoreComponent,
PhraseDictionaryFeature* feature): PhraseDictionary(numScoreComponent, feature),

View File

@ -1,6 +1,8 @@
#ifndef moses_PhraseDictionaryDynSuffixArray_h
#define moses_PhraseDictionaryDynSuffixArray_h
#include <map>
#include "PhraseDictionary.h"
#include "DynSuffixArray.h"
#include "DynSAInclude/vocab.h"