After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11.
llvm-svn: 179805
This commit is contained in:
@@ -35,7 +35,7 @@ StreamAsynchronousIO::Flush ()
|
||||
{
|
||||
if (m_accumulated_data.GetSize() > 0)
|
||||
{
|
||||
STD_UNIQUE_PTR(EventDataBytes) data_bytes_ap (new EventDataBytes);
|
||||
std::unique_ptr<EventDataBytes> data_bytes_ap (new EventDataBytes);
|
||||
// Let's swap the bytes to avoid LARGE string copies.
|
||||
data_bytes_ap->SwapBytes (m_accumulated_data.GetString());
|
||||
EventSP new_event_sp (new Event (m_broadcast_event_type, data_bytes_ap.release()));
|
||||
|
||||
Reference in New Issue
Block a user