gets single int that can be represented as int value
| 32 | |
| 33 | // gets single int that can be represented as int value |
| 34 | constexpr int MakeVersionNumber(int major, int minor, int patch = 0) { |
| 35 | if (major < 0 || minor < 0 || patch < 0) { |
| 36 | return -1; |
| 37 | } |
| 38 | return major*1000 + minor*10 + patch; |
| 39 | } |
| 40 | |
| 41 | } // namespace dali |
| 42 |
no outgoing calls
no test coverage detected