Changeset 286


Ignore:
Timestamp:
Dec 17, 2002, 4:29:30 PM (18 years ago)
Author:
orlov
Message:

* empty log message *

Location:
to-imperative/trunk/runtime
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/runtime/pxx_heap.cc

    r147 r286  
    1515  size_t const _max_size,
    1616  size_t _init_size = page_size,
    17   int _fd = 0,
    18   bool _need_remap = true
     17  int _fd /* = 0 */,
     18  bool _need_remap /* = true */
    1919) :
    2020  start (_start),
     
    5959}
    6060
    61 void Heap::expand (unsigned _order = 1)
     61void Heap::expand (unsigned _order /* = 1 */)
    6262{
    6363  size_t new_size = current_size << _order;
  • to-imperative/trunk/runtime/pxx_heap_allocator.hh

    r285 r286  
    114114#if PARANOIA
    115115
    116 inline HeapAllocator::MemoryBlock::MemoryBlock( const MemoryBlock & ) {
     116inline HeapAllocator::MemoryBlock::MemoryBlock( const MemoryBlock & )
     117{
    117118  FATAL( "Copy constructor for MemoryBlock class shouldn't be used!" );
    118119}
     
    121122HeapAllocator::MemoryBlock &HeapAllocator::MemoryBlock::operator=(
    122123    const MemoryBlock &
    123 ) {
     124)
     125{
    124126  FATAL( "operator=() for MemoryBlock class shouldn't be used!" );
     127  return *this;
    125128}
    126129
  • to-imperative/trunk/runtime/pxx_memory_chunk.hh

    r152 r286  
    7979}
    8080
    81 inline Memory_Chunk::Memory_Chunk( const Memory_Chunk & ) {
     81inline Memory_Chunk::Memory_Chunk( const Memory_Chunk & )
     82{
    8283  FATAL( "Copy constructor for Memory_Chunk class shouldn't be used!" );
    8384}
    8485
    85 inline const Memory_Chunk &Memory_Chunk::operator=( const Memory_Chunk & ) {
     86inline const Memory_Chunk &Memory_Chunk::operator=( const Memory_Chunk & )
     87{
    8688  FATAL( "operator=() for Memory_Chunk class shouldn't be used!" );
     89  return *this;
    8790}
    8891
Note: See TracChangeset for help on using the changeset viewer.