Skip to content

Commit bf190ca

Browse files
author
Christopher Sean Morrison
committed
std::string are declared in <string>, not <string.h>; fix r45627.
1 parent b466fe7 commit bf190ca

File tree

8 files changed

+9
-8
lines changed

8 files changed

+9
-8
lines changed

src/clstepcore/STEPaggregate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TypeDescriptor;
3131
#include <baseType.h>
3232
#include <sdai.h>
3333
#include <STEPundefined.h>
34-
#include <string.h>
34+
#include <string>
3535

3636
//class SCLP23(Application_instance);
3737
//#define S_ENTITY_NULL &NilSTEPentity

src/clstepcore/STEPundefined.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#endif
2020

2121
#include <errordesc.h>
22-
#include <string.h>
22+
#include <string>
2323
#include <read_func.h>
2424

2525
class SCLundefined {

src/clstepcore/Select.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
#include <string.h>
2+
#include <string>
33

44
class Select {
55
public:

src/clstepcore/scl_osschema.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
/*
77
*/
8-
#include <string.h>
8+
#include <string>
99
#include <sdai.h>
1010

1111
#include <errordesc.h>

src/clstepcore/sdai.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ extern const char *SCLversion;
2929
#include <ctype.h>
3030
//#include <stdio.h>
3131
//#include <strstream.h>
32+
#include <string>
3233

33-
#include <string.h>
3434

3535
#ifdef PART26
3636
// Change the name of the include file defining the defs for Bool and Logical
@@ -44,7 +44,6 @@ extern const char *SCLversion;
4444

4545
#include <baseType.h>
4646
#include <Str.h>
47-
#include <string.h>
4847
#include <errordesc.h>
4948

5049
typedef std::string Express_id;

src/clstepcore/sdaiBinary.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef SDAIBINARY_H
22
#define SDAIBINARY_H 1
33

4+
#include <string>
5+
46
/*
57
* NIST STEP Core Class Library
68
* clstepcore/sdaiBinary.h

src/clstepcore/sdaiSelect.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <ExpDict.h>
1717
#include <sstream>
1818
//#include <STEPentity.h>
19-
#include <string.h>
19+
#include <string>
2020
#include <sdai.h>
2121
#include <STEPattribute.h>
2222

src/clutils/errordesc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include <OpenOODB.h>
2020
#endif
2121

22-
#include <string.h>
22+
#include <string>
2323
#include <iostream>
2424
using namespace std;
2525

0 commit comments

Comments
 (0)