Man im so tired This is wrong but I can taste it, im close
This commit is contained in:
@@ -1,14 +1,8 @@
|
||||
#include <corecrt.h>
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
|
||||
#include "Utils.hpp"
|
||||
|
||||
#ifdef _NB_TARGET_WINDOWS
|
||||
const std::string NEWLINE("\r\n");
|
||||
const std::wstring WNEWLINE(L"\r\n");
|
||||
#endif // _NB_TARGET_WINDOWS
|
||||
#ifdef _NB_TARGET_LINUX
|
||||
const std::string NEWLINE("\n");
|
||||
const std::wstring WNEWLINE(L"\n");
|
||||
#endif // _NB_TARGET_LINUX
|
||||
template<>
|
||||
std::wstring nb::str_to_wstr(const std::string& in) {
|
||||
std::wstring ret(in.begin(), in.end());
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user