Skip to content

Commit 7ad3c60

Browse files
committed
Merge branch 'master' into devel
2 parents 27587d2 + d0431fb commit 7ad3c60

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ SET(${PROJECT_NAME}_SOURCES
126126
127127
ADD_LIBRARY(${PROJECT_NAME} SHARED
128128
${${PROJECT_NAME}_SOURCES} ${${PROJECT_NAME}_HEADERS})
129-
TARGET_INCLUDE_DIRECTORIES(${PROJECT_NAME} SYSTEM PUBLIC ${EIGEN3_INCLUDE_DIR})
129+
TARGET_INCLUDE_DIRECTORIES(${PROJECT_NAME} SYSTEM PUBLIC ${EIGEN3_INCLUDE_DIR}
130+
${Boost_INCLUDE_DIRS})
130131
TARGET_INCLUDE_DIRECTORIES(${PROJECT_NAME} PUBLIC $<INSTALL_INTERFACE:include>)
131132
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${Boost_LIBRARIES})
132133

include/dynamic-graph/command-bind.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ makeCommandReturnType0(E &entity, ReturnType (E::*function)(void),
434434

435435
template <typename ReturnType>
436436
inline std::string docCommandReturnType0(const std::string &doc,
437-
const std::string &return_type) {
437+
const std::string & /* return_type */) {
438438
return std::string("\n") + doc + "\n\nNo input.\n" +
439439
typeid(ReturnType).name() + " return.\n\n";
440440
}

include/dynamic-graph/process-list.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
#ifndef DYNAMIC_GRAPH_PROCESS_LIST_H_
7-
#define DYNAMIC_GRAPH_PROCESS_LIST_H
7+
#define DYNAMIC_GRAPH_PROCESS_LIST_H_
88

99
#include <boost/archive/text_iarchive.hpp>
1010
#include <boost/archive/text_oarchive.hpp>

include/dynamic-graph/real-time-logger-def.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class LoggerStream {
3232
class LoggerIOStream : public LoggerStream {
3333
public:
3434
LoggerIOStream(std::ostream &os) : os_(os) {}
35+
virtual ~LoggerIOStream() {}
3536
virtual void write(const char *c) { os_ << c; }
3637

3738
private:

src/mt/process-list.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ void System::readProcStat() {
141141
if (!init_) {
142142
/// The number of CPU has been detected by going through /proc/stat.
143143
vCPUData_.resize(cpuNb_ + 1);
144-
for (int i = 0; i < (int)cpuNb_; i++)
145-
vCPUData_[i].cpu_id_ = i;
144+
for (unsigned long i = 0; i < (unsigned long )cpuNb_; i++)
145+
vCPUData_[i].cpu_id_ = (int)i;
146146
}
147147
aif.close();
148148
}

0 commit comments

Comments
 (0)