Skip to content

Commit 2f703e3

Browse files
author
Herbert Koelman
committed
updated version.
fixed some sonar related issues.
1 parent 2b297a4 commit 2f703e3

File tree

5 files changed

+117
-110
lines changed

5 files changed

+117
-110
lines changed

configure

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.69 for cpp-pthread v1.5.0.
3+
# Generated by GNU Autoconf 2.69 for cpp-pthread v1.6.0.
44
#
55
# Report bugs to <[email protected]>.
66
#
@@ -579,8 +579,8 @@ MAKEFLAGS=
579579
# Identity of this package.
580580
PACKAGE_NAME='cpp-pthread'
581581
PACKAGE_TARNAME='cpp-pthread'
582-
PACKAGE_VERSION='v1.5.0'
583-
PACKAGE_STRING='cpp-pthread v1.5.0'
582+
PACKAGE_VERSION='v1.6.0'
583+
PACKAGE_STRING='cpp-pthread v1.6.0'
584584
PACKAGE_BUGREPORT='[email protected]'
585585
PACKAGE_URL='http://herbertkoelman.github.io/cpp-pthread/'
586586

@@ -1187,7 +1187,7 @@ if test "$ac_init_help" = "long"; then
11871187
# Omit some internal or obsolete options to make the list less imposing.
11881188
# This message is too long to be a string in the A/UX 3.1 sh.
11891189
cat <<_ACEOF
1190-
\`configure' configures cpp-pthread v1.5.0 to adapt to many kinds of systems.
1190+
\`configure' configures cpp-pthread v1.6.0 to adapt to many kinds of systems.
11911191
11921192
Usage: $0 [OPTION]... [VAR=VALUE]...
11931193
@@ -1251,7 +1251,7 @@ fi
12511251

12521252
if test -n "$ac_init_help"; then
12531253
case $ac_init_help in
1254-
short | recursive ) echo "Configuration of cpp-pthread v1.5.0:";;
1254+
short | recursive ) echo "Configuration of cpp-pthread v1.6.0:";;
12551255
esac
12561256
cat <<\_ACEOF
12571257
@@ -1332,7 +1332,7 @@ fi
13321332
test -n "$ac_init_help" && exit $ac_status
13331333
if $ac_init_version; then
13341334
cat <<\_ACEOF
1335-
cpp-pthread configure v1.5.0
1335+
cpp-pthread configure v1.6.0
13361336
generated by GNU Autoconf 2.69
13371337
13381338
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1349,7 +1349,7 @@ cat >config.log <<_ACEOF
13491349
This file contains any messages produced by compilers while
13501350
running configure, to aid debugging if configure makes a mistake.
13511351
1352-
It was created by cpp-pthread $as_me v1.5.0, which was
1352+
It was created by cpp-pthread $as_me v1.6.0, which was
13531353
generated by GNU Autoconf 2.69. Invocation command line was
13541354
13551355
$ $0 $@
@@ -2643,7 +2643,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26432643
# report actual input values of CONFIG_FILES etc. instead of their
26442644
# values after options handling.
26452645
ac_log="
2646-
This file was extended by cpp-pthread $as_me v1.5.0, which was
2646+
This file was extended by cpp-pthread $as_me v1.6.0, which was
26472647
generated by GNU Autoconf 2.69. Invocation command line was
26482648
26492649
CONFIG_FILES = $CONFIG_FILES
@@ -2697,7 +2697,7 @@ _ACEOF
26972697
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26982698
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
26992699
ac_cs_version="\\
2700-
cpp-pthread config.status v1.5.0
2700+
cpp-pthread config.status v1.6.0
27012701
configured by $0, generated by GNU Autoconf 2.69,
27022702
with options \\"\$ac_cs_config\\"
27032703

include/pthread/exceptions.hpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ namespace pthread {
7272
* @param message timeout condition
7373
*/
7474
explicit timeout_exception(const std::string &message);
75+
7576
};
7677

7778
/** throw to indicate that something went wrong with a mutex.
@@ -113,6 +114,7 @@ namespace pthread {
113114
* @param pthread_errno error returned by the pthread function
114115
*/
115116
condition_variable_exception( const std::string &message, const int pthread_errno = -1);
117+
116118
virtual ~condition_variable_exception(){
117119
// Intentionally unimplemented...
118120
};
@@ -145,7 +147,11 @@ namespace pthread {
145147
* @param msg explanatory message.
146148
*/
147149
explicit queue_exception(const std::string &msg = "queue_error occured.");
148-
150+
151+
virtual ~queue_exception(){
152+
// intintional...
153+
};
154+
149155
/** @return an explanatory message
150156
*/
151157
#if __cplusplus < 201103L

include/pthread/sync_queue.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ namespace pthread {
125125
*
126126
* @param ms max queue size (default is 10).
127127
*/
128-
sync_queue( int ms = 10 );
128+
explicit sync_queue( int ms = 10 );
129129

130130
/** destructor */
131131
virtual ~sync_queue();

0 commit comments

Comments
 (0)