Changeset 863 for GTP/trunk/Lib/Vis/Preprocessing/src/Environment.cpp
- Timestamp:
- 04/29/06 19:11:23 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Environment.cpp
r860 r863 20 20 #include "Vector3.h" 21 21 22 23 using namespace GtpVisibilityPreprocessor { 22 using namespace std; 23 24 namespace GtpVisibilityPreprocessor { 25 26 24 27 25 28 Environment *environment = NULL; … … 269 272 // new option 270 273 options[numOptions].type = type; 271 options[numOptions].name = strdup(name);274 options[numOptions].name = ::strdup(name); 272 275 // assign abbreviation, if requested 273 276 if (abbrev != NULL) { 274 options[numOptions].abbrev =strdup(abbrev);277 options[numOptions].abbrev = ::strdup(abbrev); 275 278 } 276 279 // assign default value, if requested 277 280 if (defValue != NULL) { 278 options[numOptions].defaultValue =strdup(defValue);281 options[numOptions].defaultValue = ::strdup(defValue); 279 282 if (!CheckType(defValue, type)) { 280 283 Debug << "Internal error: Inconsistent type and default value in option " … … 610 613 if (options[i].type == optString) { 611 614 delete options[i].value; 612 options[i].value =strdup(value);615 options[i].value = ::strdup(value); 613 616 } 614 617 else {
Note: See TracChangeset
for help on using the changeset viewer.