Skip to content

Commit b376526

Browse files
committed
Fix NWB compilation issues on Linux
1 parent c4db1ee commit b376526

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Source/Plugins/NWBFormat/NWBFormat.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ int NWBFile::createFileStructure()
306306
return filename;
307307
}
308308

309-
HDF5RecordingData* NWBFile::createRecordingStructures(String basePath, NWBRecordingInfo& info, String helpText, int chunk_size, String ancestry)
309+
HDF5RecordingData* NWBFile::createRecordingStructures(String basePath, const NWBRecordingInfo& info, String helpText, int chunk_size, String ancestry)
310310
{
311311
StringArray ancestryStrings;
312312
ancestryStrings.add("TimeSeries");
@@ -339,4 +339,4 @@ int NWBFile::createFileStructure()
339339
dSet = createDataSet(STR, 1, 0, path + "/" + name);
340340
if (!dSet) return;
341341
dSet->writeDataBlock(1, STR, text.toUTF8());
342-
}
342+
}

Source/Plugins/NWBFormat/NWBFormat.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ namespace NWBRecording
6161
int createFileStructure() override;
6262

6363
private:
64-
HDF5RecordingData* createRecordingStructures(String basePath, NWBRecordingInfo& info, String helpText, int chunk_size, String ancestry);
64+
HDF5RecordingData* createRecordingStructures(String basePath, const NWBRecordingInfo& info, String helpText, int chunk_size, String ancestry);
6565
void createTextDataSet(String path, String name, String text);
6666

6767
const String filename;
@@ -100,4 +100,4 @@ namespace NWBRecording
100100

101101
}
102102

103-
#endif
103+
#endif

Source/Plugins/NWBFormat/OpenEphysLib.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3333

3434

3535
using namespace Plugin;
36-
#define NUM_PLUGINS 2
36+
#define NUM_PLUGINS 1
3737

3838
extern "C" EXPORT void getLibInfo(Plugin::LibraryInfo* info)
3939
{
@@ -67,4 +67,4 @@ BOOL WINAPI DllMain(IN HINSTANCE hDllHandle,
6767
return TRUE;
6868
}
6969

70-
#endif
70+
#endif

0 commit comments

Comments
 (0)