Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCodingServer/Private/External/LC_DiaSymbolName.cpp
Chris Gagnon 00f8b72a0b Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 5602170 by Chris Gagnon in Dev-Editor branch]
2019-03-27 15:03:08 -04:00

26 lines
348 B
C++

// Copyright 2011-2019 Molecular Matters GmbH, all rights reserved.
#include "LC_DiaSymbolName.h"
dia::SymbolName::SymbolName(BSTR str)
: m_name(str)
{
}
dia::SymbolName::~SymbolName(void)
{
if (m_name)
{
::SysFreeString(m_name);
}
}
dia::SymbolName::SymbolName(SymbolName&& other)
: m_name(other.m_name)
{
other.m_name = nullptr;
}