Commit 56085164 by Christophe Gonzales

try to remove compilation error under windows

parent 76e0e4a1
Pipeline #20203678 failed with stages
in 9 minutes 4 seconds
......@@ -86,13 +86,14 @@ namespace gum {
/// insert a new row at the end of the database
/** The new row passed in argument is supposed to come from an external
* database. So it must contain data for the ignored columns. */
virtual void insertRow ( const DBVector<std::string>& new_row ) = 0;
virtual void
insertRow ( const std::vector<std::string,ALLOC<std::string>>& new_row ) = 0;
/// insert new rows at the end of the database
/** The new rows passed in argument are supposed to come from an external
* database. So they must contain data for the ignored columns. */
virtual void insertRows (
const DBVector<DBVector<std::string>>& new_row );
const DBVector<DBVector<std::string>>& new_rows );
};
......@@ -118,7 +119,7 @@ namespace gum {
/** The new rows passed in argument are supposed to come from an external
* database. So they must contain data for the ignored columns. */
virtual void insertRows (
const DBVector<DBVector<std::string>>& new_row );
const DBVector<DBVector<std::string>>& new_rows );
};
......
......@@ -6,5 +6,5 @@ if (UNIX)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
endif(UNIX)
set (CMAKE_SHARED_LIBRARY_CXX_FLAGS "${CMAKE_SHARED_LIBRARY_CXX_FLAGS} ${CMAKE_THREAD_LIBS_INIT}")
set (CMAKE_SHARED_LIBRARY_CXX_FLAGS "${CMAKE_SHARED_LIBRARY_CXX_FLAGS} ${CMAKE_THREAD_LIBS_INIT} -pthread -lpthread")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -pthread -lpthread")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment