aboutsummaryrefslogtreecommitdiffstats
path: root/src/byte_source.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/byte_source.c')
-rw-r--r--src/byte_source.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/byte_source.c b/src/byte_source.c
index cf9a2466..249c0dde 100644
--- a/src/byte_source.c
+++ b/src/byte_source.c
@@ -7,7 +7,6 @@
#include "system.h"
#include "serd/node.h"
-#include "serd/string_view.h"
#include <assert.h>
#include <stdbool.h>
@@ -67,7 +66,7 @@ serd_byte_source_new_input(SerdAllocator* const allocator,
SerdNode* const source_name =
name ? serd_node_copy(allocator, name)
- : serd_new_string(allocator, serd_string("input"));
+ : serd_node_new(allocator, serd_a_string("input"));
if (!source_name) {
return NULL;