I am getting a "memcpy is not defined in this scope error" with the following piece of code:
CommonSessionMessage::CommonSessionMessage(const char* data, int size)
: m_data(new char[size]) {
memcpy(m_data.get(), data, size);
}
I have looked through this site and google and could not find a solution that would resolve the issue for me.
Any assistance would be appreciated.
Thank you.