Skip to content

Commit bfbd8df

Browse files
committed
minor cleanup
1 parent dfe69a9 commit bfbd8df

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

src/clstepcore/ExpDict.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include <Registry.h>
2222
#include "sc_memmgr.h"
2323

24-
2524
Explicit_item_id__set::Explicit_item_id__set( int defaultSize ) {
2625
_bufsize = defaultSize;
2726
_buf = new Explicit_item_id_ptr[_bufsize];

src/clstepcore/STEPcomplex.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,10 @@ STEPcomplex * STEPcomplex::EntityPart( const char * name, const char * currSch )
228228
if( scomp->eDesc->CurrName( name, currSch ) ) {
229229
return scomp;
230230
}
231-
} else
231+
} else {
232232
cout << "Bug in STEPcomplex::EntityPart(): entity part has "
233233
<< "no EntityDescriptor\n";
234+
}
234235
scomp = scomp->sc;
235236
}
236237
return 0;

src/clstepcore/STEPcomplex.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class SC_CORE_EXPORT STEPcomplex : public SDAI_Application_instance {
3434
STEPcomplex * head;
3535
Registry * _registry;
3636
int visited; ///< used when reading (or as you wish?)
37-
STEPcomplex_attr_data_list _attr_data_list;
37+
STEPcomplex_attr_data_list _attr_data_list; //< what is this for?
3838
public:
3939
STEPcomplex( Registry * registry, int fileid );
4040
STEPcomplex( Registry * registry, const std::string ** names, int fileid,
@@ -43,10 +43,6 @@ class SC_CORE_EXPORT STEPcomplex : public SDAI_Application_instance {
4343
const char * schnm = 0 );
4444
virtual ~STEPcomplex();
4545

46-
virtual bool IsComplex() const {
47-
return true;
48-
}
49-
5046
int EntityExists( const char * name, const char * currSch = 0 );
5147
STEPcomplex * EntityPart( const char * name, const char * currSch = 0 );
5248

test/cpp/schema_specific/inverse_attr3.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ int main( int argc, char * argv[] ) {
5757
}
5858

5959
EntityAggregate * aggr = instance->isdefinedby_(); //should be filled in when the file is loaded? not sure how to do it using STEPfile...
60-
//FIXME FIXME FIXME fails because isdefinedby_ uses old data member rather than map lookup
6160
if( attr.a != aggr ) {
6261
cout << "Error! got different EntityAggregate's when using map vs method" << endl;
6362
exitStatus = EXIT_FAILURE;

0 commit comments

Comments
 (0)