diff --git a/Source/Plugins/NWBFormat/NWBFormat.cpp b/Source/Plugins/NWBFormat/NWBFormat.cpp index 8b1047fa4354a2f741d5b6b81d4201acba3baa76..475e46c95bd6a7226c71fcd4cc8ff973ae01fa0d 100644 --- a/Source/Plugins/NWBFormat/NWBFormat.cpp +++ b/Source/Plugins/NWBFormat/NWBFormat.cpp @@ -306,7 +306,7 @@ int NWBFile::createFileStructure() return filename; } - HDF5RecordingData* NWBFile::createRecordingStructures(String basePath, NWBRecordingInfo& info, String helpText, int chunk_size, String ancestry) + HDF5RecordingData* NWBFile::createRecordingStructures(String basePath, const NWBRecordingInfo& info, String helpText, int chunk_size, String ancestry) { StringArray ancestryStrings; ancestryStrings.add("TimeSeries"); @@ -339,4 +339,4 @@ int NWBFile::createFileStructure() dSet = createDataSet(STR, 1, 0, path + "/" + name); if (!dSet) return; dSet->writeDataBlock(1, STR, text.toUTF8()); - } \ No newline at end of file + } diff --git a/Source/Plugins/NWBFormat/NWBFormat.h b/Source/Plugins/NWBFormat/NWBFormat.h index f8903bbebd059e14fdeb4b1d3f55594106861091..cfb8793bb63cc39ca9ed3d5025cbfd5d040f9949 100644 --- a/Source/Plugins/NWBFormat/NWBFormat.h +++ b/Source/Plugins/NWBFormat/NWBFormat.h @@ -61,7 +61,7 @@ namespace NWBRecording int createFileStructure() override; private: - HDF5RecordingData* createRecordingStructures(String basePath, NWBRecordingInfo& info, String helpText, int chunk_size, String ancestry); + HDF5RecordingData* createRecordingStructures(String basePath, const NWBRecordingInfo& info, String helpText, int chunk_size, String ancestry); void createTextDataSet(String path, String name, String text); const String filename; @@ -100,4 +100,4 @@ namespace NWBRecording } -#endif \ No newline at end of file +#endif diff --git a/Source/Plugins/NWBFormat/OpenEphysLib.cpp b/Source/Plugins/NWBFormat/OpenEphysLib.cpp index 14ccc51755822051c74906acf4826d6368230789..99aac97c750a415656027480d38e3eb0ecca2ec6 100644 --- a/Source/Plugins/NWBFormat/OpenEphysLib.cpp +++ b/Source/Plugins/NWBFormat/OpenEphysLib.cpp @@ -33,7 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. using namespace Plugin; -#define NUM_PLUGINS 2 +#define NUM_PLUGINS 1 extern "C" EXPORT void getLibInfo(Plugin::LibraryInfo* info) { @@ -67,4 +67,4 @@ BOOL WINAPI DllMain(IN HINSTANCE hDllHandle, return TRUE; } -#endif \ No newline at end of file +#endif