It's better to use another code style, i.e.:
```cpp
const char* Message::getMessage() const
{
    return m_msg;
}
```