mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 09:58:50 +08:00
winbuild: fix const_cast<char*> issue
This commit is contained in:
parent
0eeb73846b
commit
3cef471e4b
@ -118,7 +118,7 @@ CServiceBase::CServiceBase(char *serviceName,
|
||||
bool fCanPauseContinue)
|
||||
{
|
||||
// Service name must be a valid string and cannot be NULL.
|
||||
m_name = (serviceName == NULL) ? "" : serviceName;
|
||||
m_name = (serviceName == NULL) ? const_cast<char*>("") : serviceName;
|
||||
|
||||
m_statusHandle = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user