diff --git a/ZRColaCompile/dbsource.cpp b/ZRColaCompile/dbsource.cpp index cc689d1..081db1c 100644 --- a/ZRColaCompile/dbsource.cpp +++ b/ZRColaCompile/dbsource.cpp @@ -20,6 +20,7 @@ #include "stdafx.h" using namespace std; +using namespace stdex; ////////////////////////////////////////////////////////////////////////// @@ -79,8 +80,8 @@ ZRCola::DBSource::character_bank::build_related_worker::~build_related_worker() unsigned int ZRCola::DBSource::character_bank::build_related_worker::process() { - stdex::heap_allocator al(m_heap); - basic_string, stdex::heap_allocator > rel(al); + heap_allocator al(m_heap); + basic_string, heap_allocator > rel(al); for (size_type i = m_from; i < m_to; i++) { ZRCola::DBSource::character &chr = *(m_cb->at(i).get()); diff --git a/ZRColaCompile/main.cpp b/ZRColaCompile/main.cpp index 7d67d53..d8ecd8e 100644 --- a/ZRColaCompile/main.cpp +++ b/ZRColaCompile/main.cpp @@ -20,6 +20,7 @@ #include "stdafx.h" using namespace std; +using namespace stdex; /// @@ -102,7 +103,7 @@ int _tmain(int argc, _TCHAR *argv[]) set pot; // Open file ID. - streamoff dst_start = stdex::idrec::open(dst, ZRCOLA_DB_ID); + streamoff dst_start = idrec::open(dst, ZRCOLA_DB_ID); { // Get translations. @@ -526,7 +527,7 @@ int _tmain(int argc, _TCHAR *argv[]) } } - stdex::idrec::close(dst, dst_start); + idrec::close(dst, dst_start); if (dst.fail()) { _ftprintf(stderr, wxT("%s: error ZCC1000: Writing to output file failed.\n"), (LPCTSTR)filenameOut.c_str());