From 95bba145eabdf40630e23b8d5ab27527b4beef7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Thu, 23 Feb 2017 19:55:07 +0100 Subject: [PATCH] Remove maybe uninitialized warnings when using insert_commit_data_t --- include/boost/intrusive/bstree_algorithms.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/boost/intrusive/bstree_algorithms.hpp b/include/boost/intrusive/bstree_algorithms.hpp index e8caee0..e449eba 100644 --- a/include/boost/intrusive/bstree_algorithms.hpp +++ b/include/boost/intrusive/bstree_algorithms.hpp @@ -37,6 +37,9 @@ namespace intrusive { template struct insert_commit_data_t { + BOOST_INTRUSIVE_FORCEINLINE insert_commit_data_t() + : link_left(false), node() + {} bool link_left; NodePtr node; };