Changeset 351

Show
Ignore:
Timestamp:
04/20/08 20:47:09 (7 months ago)
Author:
rm
Message:

fix for thrift TMemoryBuffer changes, annoying...

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/thrudex/src/thrudex_replay.cpp

    r339 r351  
    150150            } 
    151151 
     152 
    152153            // do these really have to be shared pointers? 
    153154            shared_ptr<TTransport> tbuf 
    154155                (new TMemoryBuffer ((uint8_t*)event.message.c_str (),  
    155                                     event.message.length ())); 
     156                                    event.message.length (), 
     157                                    TMemoryBuffer::COPY)); 
    156158            shared_ptr<TProtocol> prot = protocol_factory.getProtocol (tbuf); 
    157159 
  • trunk/thrudoc/src/thrudoc_replay.cpp

    r339 r351  
    153153            shared_ptr<TTransport> tbuf 
    154154                (new TMemoryBuffer ((uint8_t*)event.message.c_str (),  
    155                                     event.message.length ())); 
     155                                    event.message.length (), 
     156                                    TMemoryBuffer::COPY)); 
    156157            shared_ptr<TProtocol> prot = protocol_factory.getProtocol (tbuf); 
    157158