diff --git a/CMakeLists.txt b/CMakeLists.txt index c5610d3..dec38af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ # GNU Lesser General Public License v2.1 or any later version. cmake_minimum_required(VERSION 3.16...3.31) -project(blockfactory LANGUAGES CXX VERSION 1.0.0) +project(blockfactory LANGUAGES CXX VERSION 1.0.1) if(BUILD_DOCS) add_subdirectory(doc) diff --git a/sources/Simulink/src/BlockFactory.cpp b/sources/Simulink/src/BlockFactory.cpp index c9dcfc9..cc979ad 100644 --- a/sources/Simulink/src/BlockFactory.cpp +++ b/sources/Simulink/src/BlockFactory.cpp @@ -110,7 +110,7 @@ static void mdlInitializeSizes(SimStruct* S) // Allocate the block from the factory. Since this object is supposed to be deleted // by the end of this function scope, SharedLibraryClass can be used and provides RAII. - shlibpp::SharedLibraryClass block(*factory); + sharedlibpp::SharedLibraryClass block(*factory); // Notify errors if (!block.isValid()) {