aliyun / aliyun-oss-cpp-sdk

Aliyun OSS SDK for C++
Other
188 stars 88 forks source link

Please fix this bug #54

Closed touchao123 closed 4 years ago

touchao123 commented 4 years ago

aliyun-oss-cpp-sdk/sdk/src/utils/FileSystemUtils.cc:125:30: error: cannot bind non-const lvalue reference of type ‘time_t&’ {aka ‘long int&’} to an rvalue of type ‘time_t’ {aka ‘long int’} return GetPathInfo(file, size,t);

fix patch --- a/sdk/src/utils/FileSystemUtils.cc +++ b/sdk/src/utils/FileSystemUtils.cc @@ -121,7 +121,7 @@ bool AlibabaCloud::OSS::IsFileExist(const std::string& file) { std::streamsize size; time_t t;

huiguangjun commented 4 years ago

fixed. commit eae2c9cc15d52970fccd2343145348f46c89369a