added std::size_t for gcc 4.6

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@4001 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
hieuhoang1972 2011-06-08 05:49:47 +00:00
parent 46c4dd441e
commit 0a04cb11bf
2 changed files with 3 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public:
virtual ~ChartTrellisPathList();
size_t GetSize() const {
std::size_t GetSize() const {
return m_collection.size();
}

View File

@ -6,6 +6,8 @@
//#include "FloydWarshall.h"
using namespace std;
// All-pairs shortest path algorithm
void floyd_warshall(const std::vector<std::vector<bool> >& edges, std::vector<std::vector<int> >& dist)
{