Skip to content

Commit 3f6d48d

Browse files
committed
Merge tag 'v4.2.2'
Release of version 4.2.2.
2 parents d0431fb + 26dd18a commit 3f6d48d

File tree

6 files changed

+16
-15
lines changed

6 files changed

+16
-15
lines changed

doc/additionalDoc/introduction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ load classes of entities and create instances of entities.</p>
6262
\li Type-safe connection of input and output signals
6363
\li On-demand signal computation as well as a caching system for signal values
6464
allow fast computation of signal values, which is a critical point for real-time
65-
systems\n
65+
systems\n
6666
6767
*/

include/dynamic-graph/logger.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@ class Logger {
266266

267267
inline bool isStreamMsg(MsgType m) { return (m & MSG_TYPE_STREAM_BIT); }
268268

269-
/** Check whether a message of type \p m and from \p c lineId should be accepted.
270-
* \note If \p m is a stream type, the internal counter associated to \p lineId
271-
* is updated.
269+
/** Check whether a message of type \p m and from \p c lineId should be
270+
* accepted. \note If \p m is a stream type, the internal counter associated
271+
* to \p lineId is updated.
272272
*/
273273
bool acceptMsg(MsgType m, const std::string &lineId) {
274274
// If more verbose than the current verbosity level

package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<package format="3">
33
<name>dynamic-graph</name>
4-
<version>4.2.1</version>
4+
<version>4.2.2</version>
55
<description>
66
Dynamic graph library
77
</description>

tests/signal-cast-registerer.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,6 @@ BOOST_AUTO_TEST_CASE(standard_double_registerer) {
139139
BOOST_AUTO_TEST_CASE(custom_vector_registerer) {
140140
dynamicgraph::Signal<dynamicgraph::Vector, int> myVectorSignal("vector");
141141

142-
/// Create a second local vector registerer to generate an exception.
143-
bool res = false;
144-
try {
145-
EigenCastRegisterer_V myVectorCast2;
146-
} catch (const ExceptionSignal &aes) {
147-
res = (aes.getCode() == ExceptionSignal::GENERIC);
148-
}
149-
// BOOST_CHECK(res);
150-
151142
// Print the signal name.
152143
{
153144
output_test_stream output;

tests/value.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
6464
bool res = false;
6565
try {
6666
int aInt(anet);
67+
aInt++; // silence unused variable warnings to have a stable release in the
68+
// ros buildfarm
6769
} catch (const dg::ExceptionAbstract &aea) {
6870
output << aea.getExceptionName();
6971
output2 << aea.what();
@@ -78,6 +80,8 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
7880
res = false;
7981
try {
8082
bool abool(anet);
83+
abool = !abool; // silence unused variable warnings to have a stable release
84+
// in the ros buildfarm
8185
} catch (const dg::ExceptionAbstract &aea) {
8286
res = (aea.getCode() == dg::ExceptionAbstract::TOOLS);
8387
}
@@ -88,6 +92,8 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
8892
res = false;
8993
try {
9094
unsigned int aint(anet);
95+
aint++; // silence unused variable warnings to have a stable release in the
96+
// ros buildfarm
9197
} catch (const dg::ExceptionAbstract &aea) {
9298
res = (aea.getCode() == dg::ExceptionAbstract::TOOLS);
9399
}
@@ -98,6 +104,8 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
98104
res = false;
99105
try {
100106
double adouble(anet);
107+
adouble++; // silence unused variable warnings to have a stable release in
108+
// the ros buildfarm
101109
} catch (const dg::ExceptionAbstract &aea) {
102110
res = (aea.getCode() == dg::ExceptionAbstract::TOOLS);
103111
}
@@ -108,6 +116,8 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
108116
res = false;
109117
try {
110118
float afloat(anet);
119+
afloat++; // silence unused variable warnings to have a stable release in
120+
// the ros buildfarm
111121
} catch (const dg::ExceptionAbstract &aea) {
112122
res = (aea.getCode() == dg::ExceptionAbstract::TOOLS);
113123
}

0 commit comments

Comments
 (0)