From 4711fdf527f416faee8ff19e15f050d4b48dcfb2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 5 May 2023 09:43:57 -0400 Subject: [WIP] Generalize node construction API --- src/byte_source.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/byte_source.c') 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 #include @@ -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; -- cgit v1.2.1