summaryrefslogtreecommitdiff
path: root/src/include/span.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/span.hpp')
-rw-r--r--src/include/span.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/span.hpp b/src/include/span.hpp
index ddb08ae3..59c960fc 100644
--- a/src/include/span.hpp
+++ b/src/include/span.hpp
@@ -9,6 +9,7 @@
#include <rc_string.hpp>
#include <functional>
+#include <memory>
enum ErrorType
{
@@ -30,7 +31,7 @@ struct ProtoSpan
};
struct Span
{
- //::std::unique_ptr<Span> outer_span; // Expansion target for macros
+ ::std::shared_ptr<Span> outer_span; // Expansion target for macros
RcString filename;
unsigned int start_line;