From caae1e38d0d239f4f7088a64526fe1d2f6587999 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 26 Sep 2013 23:55:29 -0700 Subject: Split string header into pieces --- src/common/core.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/common/core.cpp') diff --git a/src/common/core.cpp b/src/common/core.cpp index 76aa09c..727babd 100644 --- a/src/common/core.cpp +++ b/src/common/core.cpp @@ -8,6 +8,8 @@ #include #include +#include "../strings/zstring.hpp" + #include "random.hpp" #include "socket.hpp" #include "timer.hpp" @@ -79,7 +81,7 @@ int main(int argc, char **argv) // ZString args[argc]; is (deliberately!) not supported by clang yet ZString *args = static_cast(alloca(argc * sizeof(ZString))); for (int i = 0; i < argc; ++i) - args[i] = ZString(ZString::really_construct_from_a_pointer, argv[i], nullptr); + args[i] = ZString(strings::really_construct_from_a_pointer, argv[i], nullptr); do_init(argc, args); // set up exit handlers *after* the initialization has happened. // This is because term_func is likely to depend on successful init. -- cgit v1.2.3-70-g09d2