Changeset 14932


Ignore:
Timestamp:
05/06/13 15:02:49 (12 years ago)
Author:
Mathieu Morlighem
Message:

BUG: need to use std::string

Location:
issm/trunk-jpl/src/c
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/dakota/DakotaPlugin.cpp

    r14915 r14932  
    7171        variable_descriptors=xNew<char*>(numACV);
    7272        for(i=0;i<numACV;i++){
    73                 string label=xCLabels[i];
     73                std::string label=xCLabels[i];
    7474                variable_descriptor=xNew<char>(strlen(label.c_str())+1);
    7575                memcpy(variable_descriptor,label.c_str(),(strlen(label.c_str())+1)*sizeof(char));
  • issm/trunk-jpl/src/c/modules/Scotchx/Scotchx.h

    r13623 r14932  
    1717#include <stdio.h>
    1818#include <string.h>
    19 
    2019#include "../../Container/Container.h"
    2120#include "../../classes/objects/objects.h"
Note: See TracChangeset for help on using the changeset viewer.