This commit is contained in:
Branimir Karadžić
2018-11-13 22:42:28 -08:00
parent 6141ff9661
commit b5f49d4c0f
2 changed files with 3 additions and 3 deletions

View File

@@ -27,8 +27,8 @@
namespace bx
{
const int32_t kExitSuccess = 0;
const int32_t kExitFailure = 1;
constexpr int32_t kExitSuccess = 0;
constexpr int32_t kExitFailure = 1;
/// Template for avoiding MSVC: C4127: conditional expression is constant
template<bool>

View File

@@ -14,7 +14,7 @@ BX_ERROR_RESULT(BX_ERROR_NOT_DIRECTORY, BX_MAKEFOURCC('b', 'x', 0, 1) );
namespace bx
{
const int32_t kMaxFilePath = 1024;
constexpr int32_t kMaxFilePath = 1024;
/// Special predefined OS directories.
///