Skip to content

Commit 9619ab5

Browse files
author
Herbert Koelman
committed
Merge branch 'iss-67' into develop
2 parents 2f703e3 + f6148b5 commit 9619ab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pthread/sync_queue.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ namespace pthread {
8181

8282
/** @return current number of elements in the queue */
8383
#if __cplusplus < 201103L
84-
size_t size() const {
84+
size_t size() {
8585
// we use read/write locks when std::atomic is not available
8686
pthread::lock_guard<pthread::read_lock> lck(_rwlock);
8787
#else

0 commit comments

Comments
 (0)