2
0
mirror of https://github.com/boostorg/log.git synced 2026-02-21 03:02:15 +00:00

Removed register storage specifier as it causes warnings on newer clang

versions.
This commit is contained in:
Andrey Semashev
2014-02-23 14:52:19 +04:00
parent 3f938be417
commit f734363ee3
22 changed files with 61 additions and 62 deletions

View File

@@ -267,7 +267,7 @@ public:
{
// First try to find an acquired element
bucket& b = get_bucket(key.id());
register node* p = b.first;
node* p = b.first;
if (p)
{
// The bucket is not empty, search among the elements
@@ -330,7 +330,7 @@ private:
typedef node_list::value_traits value_traits;
// All elements within the bucket are sorted to speedup the search.
register node* p = b.first;
node* p = b.first;
while (p != b.last && p->m_Value.first.id() < key.id())
{
p = value_traits::to_value_ptr(node_traits::get_next(p));
@@ -423,7 +423,7 @@ private:
{
key_type key = it->first;
bucket& b = get_bucket(key.id());
register node* p = b.first;
node* p = b.first;
if (p)
{
p = find_in_bucket(key, b);