aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-16 14:12:21 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-16 14:12:21 -0400
commitd803502032d1d05bb87d3ec18015ea497bad5e32 (patch)
treeface70af8cc5bf85a7145ad5a748edb75042e1d2
parent500989cf55530b9e9d8866ecb5c6d72ac2b62581 (diff)
Fix other root->type rename
-rw-r--r--stdlib/optionals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/optionals.h b/stdlib/optionals.h
index 4b368b1e..882fb891 100644
--- a/stdlib/optionals.h
+++ b/stdlib/optionals.h
@@ -23,7 +23,7 @@
#define NONE_CLOSURE ((OptionalClosure_t){.fn=NULL})
#define NONE_TEXT ((OptionalText_t){.length=-1})
#define NONE_MOMENT ((OptionalMoment_t){.tv_usec=-1})
-#define NONE_PATH ((Path_t){.root=PATH_NONE})
+#define NONE_PATH ((Path_t){.type=PATH_NONE})
PUREFUNC bool is_null(const void *obj, const TypeInfo_t *non_optional_type);
PUREFUNC uint64_t Optional$hash(const void *obj, const TypeInfo_t *type);