Changeset 37:cf2e8cc26f87 in rrlib_concurrent_containers


Ignore:
Timestamp:
06.02.2021 21:11:43 (2 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
17.03
Children:
38:041041479073, 39:26f8a5bb40c7
Phase:
public
Message:

Fixes compiler warnings that appear with additional non-default warning options enabled

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • policies/set/storage/ArrayChunkBased.h

    r31 r37  
    328328      } 
    329329 
    330       inline const bool operator == (const tIteratorImplementation &other) const 
     330      inline bool operator == (const tIteratorImplementation &other) const 
    331331      { 
    332332        return current_array_entry == other.current_array_entry; 
    333333      } 
    334       inline const bool operator != (const tIteratorImplementation &other) const 
     334      inline bool operator != (const tIteratorImplementation &other) const 
    335335      { 
    336336        return !(*this == other); 
  • queue/tIntrusiveLinkedFragmentBasedQueue.h

    r22 r37  
    8787    tQueueableMost* ex_last = last.exchange(NULL); 
    8888    result.InitLIFO(ex_last, -1); 
    89     return std::move(result); 
     89    return result; 
    9090  } 
    9191 
     
    299299 
    300300    result.InitLIFO(ex_last_ptr, max_length); 
    301     return std::move(result); 
     301    return result; 
    302302  } 
    303303 
  • queue/tIntrusiveSingleThreadedQueue.h

    r22 r37  
    111111    this->next_single_threaded_queueable = this; 
    112112    last = this; 
    113     return std::move(result); 
     113    return result; 
    114114  } 
    115115 
     
    167167    next = NULL; 
    168168    last = NULL; 
    169     return std::move(result); 
     169    return result; 
    170170  } 
    171171 
Note: See TracChangeset for help on using the changeset viewer.