aboutsummaryrefslogtreecommitdiff
path: root/lldb/include/lldb/Utility/DataBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/include/lldb/Utility/DataBuffer.h')
-rw-r--r--lldb/include/lldb/Utility/DataBuffer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/include/lldb/Utility/DataBuffer.h b/lldb/include/lldb/Utility/DataBuffer.h
index 302b13307958..c778299b89ad 100644
--- a/lldb/include/lldb/Utility/DataBuffer.h
+++ b/lldb/include/lldb/Utility/DataBuffer.h
@@ -10,8 +10,8 @@
#define LLDB_UTILITY_DATABUFFER_H
#if defined(__cplusplus)
-#include <stdint.h>
-#include <string.h>
+#include <cstdint>
+#include <cstring>
#include "lldb/lldb-types.h"
@@ -48,7 +48,7 @@ public:
/// and be downcast to the DataBuffer pure virtual interface. The virtual
/// destructor ensures that destructing the base class will destruct the
/// class that inherited from it correctly.
- virtual ~DataBuffer() {}
+ virtual ~DataBuffer() = default;
/// Get a pointer to the data.
///