fixed boost fs v2 compile error found by pavel.savara

pull/40/head
Nestal Wan 2012-06-20 22:02:42 +08:00
parent b906d90faf
commit a799e7a611
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ void Resource::FromLocal( const DateTime& last_sync )
else
m_state = ( m_mtime > last_sync ? local_new : remote_deleted ) ;
m_name = path.filename().string() ;
m_name = Path2Str( path.filename() ) ;
m_kind = fs::is_directory(path) ? "folder" : "file" ;
m_md5 = fs::is_directory(path) ? "" : crypt::MD5::Get( path ) ;
}