mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 19:27:11 +03:00
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:
parent
46c4dd441e
commit
0a04cb11bf
@ -56,7 +56,7 @@ public:
|
||||
|
||||
virtual ~ChartTrellisPathList();
|
||||
|
||||
size_t GetSize() const {
|
||||
std::size_t GetSize() const {
|
||||
return m_collection.size();
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user