Browse Source

Fix issues from review

Michael Hansen 12 years ago
parent
commit
1152cdae94
  1. 10
      Sources/Plasma/CoreLib/plProduct.cpp
  2. 2
      Sources/Plasma/CoreLib/plProduct.h

10
Sources/Plasma/CoreLib/plProduct.cpp

@ -49,15 +49,7 @@ static_assert(PRODUCT_BRANCH_ID > 0, "Branch ID cannot be zero");
uint32_t plProduct::BuildId() { return PRODUCT_BUILD_ID; }
uint32_t plProduct::BuildType() { return PRODUCT_BUILD_TYPE; }
uint32_t plProduct::BranchId()
{
#ifndef PATCHER
return PRODUCT_BRANCH_ID;
#else
return 0;
#endif
}
uint32_t plProduct::BranchId() { return PRODUCT_BRANCH_ID; }
plString plProduct::CoreName()
{

2
Sources/Plasma/CoreLib/plProduct.h

@ -40,7 +40,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/
#include <cstdint>
#include <stdint.h>
class plString;

Loading…
Cancel
Save