You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2022/12/12 23:22:06 UTC
[mynewt-nimble] 01/03: porting/examples: Fix build error on linux
This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit eddc008fa54741b047408a7d316529cf272950e1
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Fri Dec 9 13:29:29 2022 +0100
porting/examples: Fix build error on linux
Since 'using namespace std' was removed from public header it is
needed to explicitly use it when using std::list
---
porting/npl/linux/src/wqueue.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/porting/npl/linux/src/wqueue.h b/porting/npl/linux/src/wqueue.h
index d9a7b6cc..61540562 100644
--- a/porting/npl/linux/src/wqueue.h
+++ b/porting/npl/linux/src/wqueue.h
@@ -27,7 +27,7 @@
template <typename T> class wqueue
{
- list<T> m_queue;
+ std::list<T> m_queue;
pthread_mutex_t m_mutex;
pthread_mutexattr_t m_mutex_attr;
pthread_cond_t m_condv;