Skip to content

Commit ad84876

Browse files
committed
Adding more classes to the CMakeLists
1 parent 8e1bdbf commit ad84876

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

fuse_core/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,16 @@ add_library(
4242
# src/async_publisher.cpp
4343
# src/async_sensor_model.cpp
4444
# src/ceres_options.cpp
45-
# src/constraint.cpp
45+
src/constraint.cpp
4646
# src/graph.cpp
4747
# src/graph_deserializer.cpp
4848
src/loss.cpp
4949
src/serialization.cpp
5050
# src/timestamp_manager.cpp
5151
# src/transaction.cpp
5252
# src/transaction_deserializer.cpp
53-
# src/uuid.cpp
54-
# src/variable.cpp
53+
src/uuid.cpp
54+
src/variable.cpp
5555
)
5656
ament_target_dependencies(
5757
${PROJECT_NAME}

fuse_core/include/fuse_core/constraint.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ namespace fuse_core
193193
class Constraint
194194
{
195195
public:
196-
FUSE_SMART_PTR_ALIASES_ONLY(Constraint);
196+
FUSE_SMART_PTR_ALIASES_ONLY(Constraint)
197197

198198
/**
199199
* @brief Default constructor

fuse_core/include/fuse_core/local_parameterization.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ namespace fuse_core
5757
class LocalParameterization : public ceres::LocalParameterization
5858
{
5959
public:
60-
FUSE_SMART_PTR_ALIASES_ONLY(LocalParameterization);
60+
FUSE_SMART_PTR_ALIASES_ONLY(LocalParameterization)
6161

6262
/**
6363
* @brief Generalization of the subtraction operation

fuse_core/include/fuse_core/variable.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
#include <boost/serialization/access.hpp>
4343
#include <boost/type_index/stl_type_index.hpp>
4444

45+
#include <iostream>
4546
#include <limits>
46-
#include <ostream>
4747
#include <string>
4848

4949

@@ -188,7 +188,7 @@ namespace fuse_core
188188
class Variable
189189
{
190190
public:
191-
FUSE_SMART_PTR_ALIASES_ONLY(Variable);
191+
FUSE_SMART_PTR_ALIASES_ONLY(Variable)
192192

193193
/**
194194
* @brief Default constructor
@@ -322,10 +322,10 @@ class Variable
322322
*
323323
* Defaults to -max.
324324
*
325-
* @param[in] index The variable dimension of interest
325+
* @param[in] index The variable dimension of interest (not used in base class)
326326
* @return The lower bound for the requested variable dimension
327327
*/
328-
virtual double lowerBound(size_t index) const
328+
virtual double lowerBound(size_t /* index */) const
329329
{
330330
return std::numeric_limits<double>::lowest();
331331
}
@@ -335,10 +335,10 @@ class Variable
335335
*
336336
* Defaults to +max.
337337
*
338-
* @param[in] index The variable dimension of interest
338+
* @param[in] index The variable dimension of interest (not used in base class)
339339
* @return The upper bound for the requested variable dimension
340340
*/
341-
virtual double upperBound(size_t index) const
341+
virtual double upperBound(size_t /* index */) const
342342
{
343343
return std::numeric_limits<double>::max();
344344
}

0 commit comments

Comments
 (0)