From 00143afc01dbca797471181105738042e89f15ae Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Sat, 13 Apr 2024 00:04:42 +0200 Subject: Use string view everywhere --- deimos/core/log.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'deimos/core/log.h') diff --git a/deimos/core/log.h b/deimos/core/log.h index 323d246..9bb4dbb 100644 --- a/deimos/core/log.h +++ b/deimos/core/log.h @@ -21,8 +21,7 @@ public: deimos_NO_COPY_MOVE(ILogger); virtual ~ILogger() = default; - // @Todo Use string view - virtual void Log(LogSeverity, const SourceLocation&, Span) = 0; + virtual void Log(LogSeverity, const SourceLocation&, StringView) = 0; }; // Just a helper to pass a SourceLocation without having to write {} to logging functions. -- cgit