Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mpictor committed Dec 26, 2014
1 parent dfe69a9 commit bfbd8df
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/clstepcore/ExpDict.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include <Registry.h>
#include "sc_memmgr.h"


Explicit_item_id__set::Explicit_item_id__set( int defaultSize ) {
_bufsize = defaultSize;
_buf = new Explicit_item_id_ptr[_bufsize];
Expand Down
3 changes: 2 additions & 1 deletion src/clstepcore/STEPcomplex.cc
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,10 @@ STEPcomplex * STEPcomplex::EntityPart( const char * name, const char * currSch )
if( scomp->eDesc->CurrName( name, currSch ) ) {
return scomp;
}
} else
} else {
cout << "Bug in STEPcomplex::EntityPart(): entity part has "
<< "no EntityDescriptor\n";
}
scomp = scomp->sc;
}
return 0;
Expand Down
6 changes: 1 addition & 5 deletions src/clstepcore/STEPcomplex.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class SC_CORE_EXPORT STEPcomplex : public SDAI_Application_instance {
STEPcomplex * head;
Registry * _registry;
int visited; ///< used when reading (or as you wish?)
STEPcomplex_attr_data_list _attr_data_list;
STEPcomplex_attr_data_list _attr_data_list; //< what is this for?
public:
STEPcomplex( Registry * registry, int fileid );
STEPcomplex( Registry * registry, const std::string ** names, int fileid,
Expand All @@ -43,10 +43,6 @@ class SC_CORE_EXPORT STEPcomplex : public SDAI_Application_instance {
const char * schnm = 0 );
virtual ~STEPcomplex();

virtual bool IsComplex() const {
return true;
}

int EntityExists( const char * name, const char * currSch = 0 );
STEPcomplex * EntityPart( const char * name, const char * currSch = 0 );

Expand Down
1 change: 0 additions & 1 deletion test/cpp/schema_specific/inverse_attr3.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ int main( int argc, char * argv[] ) {
}

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

0 comments on commit bfbd8df

Please sign in to comment.