summaryrefslogtreecommitdiff
path: root/source/fud_string.cpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2025-01-02 15:11:51 -0600
committerDominick Allen <djallen@librehumanitas.org>2025-01-02 15:11:51 -0600
commit87071200872c2450c947047350132aee493033c1 (patch)
tree49109532d9bbd148b4e59043120037684093be33 /source/fud_string.cpp
parent16379362c02a2472f00fac49cad62788547c9519 (diff)
Get basic CSV parser operating.
Diffstat (limited to 'source/fud_string.cpp')
-rw-r--r--source/fud_string.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/fud_string.cpp b/source/fud_string.cpp
index cd3e918..2a17201 100644
--- a/source/fud_string.cpp
+++ b/source/fud_string.cpp
@@ -131,10 +131,6 @@ StringResult String::from(StringView view, Allocator* allocator)
return StringResult::error(FudStatus::ArgumentInvalid);
}
- if (view.nullTerminated()) {
- return StringResult::error(FudStatus::ArgumentInvalid);
- }
-
String output{};
output.m_allocator = reinterpret_cast<uintptr_t>(allocator);
size_t outputCapacity = view.length() + 1U;