Fix intan file reader on non-Windows systems

parent a5aa326c
......@@ -239,7 +239,13 @@ std::vector<std::vector<float> > read_aux_data(BinaryReader& binreader, uint16_t
void stfio::importIntanFile(const std::string &fName, Recording &ReturnData, ProgressInfo& progDlg) {
unique_ptr<FileInStream> fs(new FileInStream());
std::wstring wfName(fName.begin(), fName.end());
#ifdef _WINDOWS
std::wstring wfName(fName.begin(), fName.end());
std::string wfName(fName);
unique_ptr<BinaryReader> binreader(new BinaryReader(move(fs)));
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment