Changeset 172

Show
Ignore:
Timestamp:
03/21/09 17:06:45 (15 years ago)
Author:
bhilburn
Message:

Updating implementation file to reflect usage of cstrings.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/src/lib/socketcomm/socketcomm.cpp

    r166 r172  
    114114        ReadMessage(socketFD, buffer); 
    115115        LOG("socket_comm::GetParameter - Name: %s\n", buffer); 
    116         pList[i].name = std::string(buffer); 
     116        pList[i].name = buffer; 
    117117     
    118118        memset(buffer, 0, 256); 
    119119        ReadMessage(socketFD, buffer); 
    120120        LOG("socket_comm::GetParameter - Units: %s\n", buffer); 
    121         pList[i].units = std::string(buffer); 
     121        pList[i].units = buffer; 
    122122 
    123123        memset(buffer, 0, 256);