Changeset d62d2c6 in mainline


Ignore:
Timestamp:
2018-07-05T21:41:25Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
09553a0
Parents:
30bc2ce
git-author:
Dzejrou <dzejrou@…> (2018-06-25 19:45:38)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:25)
Message:

cpp: added explicit cast to avoid template deduction failures on architectures with different typedefs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/__bits/adt/vector.hpp

    r30bc2ce rd62d2c6  
    555555                    return max(capacity_ * 2, hint);
    556556                else
    557                     return max(capacity_ * 2, 2ul);
     557                    return max(capacity_ * 2, size_type{2u});
    558558            }
    559559
Note: See TracChangeset for help on using the changeset viewer.