summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/Event.cpp')
-rw-r--r--lldb/source/Core/Event.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/source/Core/Event.cpp b/lldb/source/Core/Event.cpp
index 8b0ac16e2b6..ac122858c71 100644
--- a/lldb/source/Core/Event.cpp
+++ b/lldb/source/Core/Event.cpp
@@ -198,3 +198,10 @@ EventDataBytes::GetEventDataFromEvent (const Event *event_ptr)
return NULL;
}
+void
+EventDataBytes::SwapBytes (std::string &new_bytes)
+{
+ m_bytes.swap (new_bytes);
+}
+
+
OpenPOWER on IntegriCloud