aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/common-debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdbsupport/common-debug.h')
-rw-r--r--gdbsupport/common-debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbsupport/common-debug.h b/gdbsupport/common-debug.h
index 33b15a0..8908669 100644
--- a/gdbsupport/common-debug.h
+++ b/gdbsupport/common-debug.h
@@ -20,7 +20,7 @@
#ifndef COMMON_COMMON_DEBUG_H
#define COMMON_COMMON_DEBUG_H
-#include "gdbsupport/gdb_optional.h"
+#include <optional>
#include "gdbsupport/preprocessor.h"
#include <stdarg.h>
@@ -200,7 +200,7 @@ private:
const char *m_end_prefix;
/* The result of formatting the format string in the constructor. */
- gdb::optional<std::string> m_msg;
+ std::optional<std::string> m_msg;
/* True is a non-nullptr format was passed to the constructor. */
bool m_with_format;