mirror of
https://github.com/ddnet/ddnet.git
synced 2024-10-20 07:48:18 +00:00
05af24a052
Move a couple of trivial type definitions to `<base/types.h>` instead.
15 lines
289 B
C++
15 lines
289 B
C++
#include <engine/warning.h>
|
|
|
|
#include <base/system.h>
|
|
|
|
SWarning::SWarning(const char *pMsg)
|
|
{
|
|
str_copy(m_aWarningTitle, "");
|
|
str_copy(m_aWarningMsg, pMsg);
|
|
}
|
|
SWarning::SWarning(const char *pTitle, const char *pMsg)
|
|
{
|
|
str_copy(m_aWarningTitle, pTitle);
|
|
str_copy(m_aWarningMsg, pMsg);
|
|
}
|