Closed touchao123 closed 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;
fixed. commit eae2c9cc15d52970fccd2343145348f46c89369a
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;