Changeset 139:7321fcea7032 in rrlib_serialization


Ignore:
Timestamp:
31.01.2015 01:08:09 (5 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
default
Phase:
public
Message:

Added default parameter value to tMemoryBuffer::GetBufferPointer()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tMemoryBuffer.h

    r138 r139  
    177177   * \return Returns pointer to buffer backend - with specified offset in bytes 
    178178   */ 
    179   inline char* GetBufferPointer(int offset) 
     179  inline char* GetBufferPointer(int offset = 0) 
    180180  { 
    181181    return GetBuffer().GetPointer() + offset; 
    182182  } 
    183   inline const char* GetBufferPointer(int offset) const 
     183  inline const char* GetBufferPointer(int offset = 0) const 
    184184  { 
    185185    return GetBuffer().GetPointer() + offset; 
Note: See TracChangeset for help on using the changeset viewer.