fix ci error, remove unwanted param comment

This commit is contained in:
Qianqian Fang 2022-02-23 12:08:04 -05:00
parent 45a7c365ee
commit be6cdaa4b9
3 changed files with 2 additions and 4 deletions

View File

@ -2111,7 +2111,7 @@ class binary_reader
{
return false;
}
result = ( (dim.size() > 0) ? 1 : 0 );
result = ( (!dim.empty()) ? 1 : 0 );
for (auto i : dim)
{
result *= i;

View File

@ -37,7 +37,6 @@ class binary_writer
@brief create a binary writer
@param[in] adapter output adapter to write to
@param[in] is_bjdata_ a boolean, if true, output is BJData format, default is false
*/
explicit binary_writer(output_adapter_t<CharType> adapter) : oa(std::move(adapter))
{

View File

@ -10487,7 +10487,7 @@ class binary_reader
{
return false;
}
result = ( (dim.size() > 0) ? 1 : 0 );
result = ( (!dim.empty()) ? 1 : 0 );
for (auto i : dim)
{
result *= i;
@ -13870,7 +13870,6 @@ class binary_writer
@brief create a binary writer
@param[in] adapter output adapter to write to
@param[in] is_bjdata_ a boolean, if true, output is BJData format, default is false
*/
explicit binary_writer(output_adapter_t<CharType> adapter) : oa(std::move(adapter))
{