diff --git a/hcore/include/senseApis/senseApiLib.h b/hcore/include/senseApis/senseApiLib.h index 1d4fbff..87fa757 100644 --- a/hcore/include/senseApis/senseApiLib.h +++ b/hcore/include/senseApis/senseApiLib.h @@ -43,12 +43,12 @@ public: public: SenseApiLib(const std::string& path) - : libraryPath(path), handle(nullptr, &dlclose) + : libraryPath(path), handle(nullptr, reinterpret_cast(&dlclose)) {} public: std::string libraryPath; - std::unique_ptr handle; + std::unique_ptr handle; /** * @brief Every sense API lib is required to provide a function that returns diff --git a/hcore/senseApis/Makefile.am b/hcore/senseApis/Makefile.am index b7772f2..f53d7be 100644 --- a/hcore/senseApis/Makefile.am +++ b/hcore/senseApis/Makefile.am @@ -2,5 +2,3 @@ AM_CPPFLAGS+= -I"$(top_srcdir)/hcore/include" noinst_LIBRARIES=libsenseApis.a libsenseApis_a_SOURCES=senseApiManager.cpp - -senseApiManager.o: AM_CPPFLAGS+=-Wno-ignored-attributes