aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'alc/backends/base.h')
-rw-r--r--alc/backends/base.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/alc/backends/base.h b/alc/backends/base.h
index 07b430e0..a4079fe4 100644
--- a/alc/backends/base.h
+++ b/alc/backends/base.h
@@ -7,6 +7,7 @@
#include <memory>
#include <ratio>
#include <string>
+#include <string_view>
#include "core/device.h"
#include "core/except.h"
@@ -20,7 +21,7 @@ struct ClockLatency {
};
struct BackendBase {
- virtual void open(const char *name) = 0;
+ virtual void open(std::string_view name) = 0;
virtual bool reset();
virtual void start() = 0;