summaryrefslogtreecommitdiff
path: root/source/fud_string.cpp
diff options
context:
space:
mode:
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;