Skip to content
Snippets Groups Projects
Commit c8a2800d authored by Shon Ferguson's avatar Shon Ferguson
Browse files

Fixed GCC compilation issues.

parent 533daf5d
No related branches found
No related tags found
No related merge requests found
...@@ -235,13 +235,10 @@ void NifStream( Key<T> & key, ifstream& file, KeyType type ) { ...@@ -235,13 +235,10 @@ void NifStream( Key<T> & key, ifstream& file, KeyType type ) {
template <class T> template <class T>
void NifStream( vector<T> & val, ifstream& file ) { void NifStream( vector<T> & val, ifstream& file ) {
//vector<T>::iterator it; typename vector<T>::iterator it;
//for ( it = val.begin(); it != val.end(); ++it ) { for ( it = val.begin(); it != val.end(); ++it ) {
// NifStream( *it, file ); NifStream( *it, file );
//} }
for ( int i = 0; i < val.size(); i++) {
NifStream( val[i], file );
};
} }
...@@ -307,13 +304,10 @@ void NifStream( Key<T> & key, ofstream& file, KeyType type ) { ...@@ -307,13 +304,10 @@ void NifStream( Key<T> & key, ofstream& file, KeyType type ) {
template <class T> template <class T>
void NifStream( vector<T> & val, ofstream& file ) { void NifStream( vector<T> & val, ofstream& file ) {
//vector<T>::iterator it; typename vector<T>::iterator it;
//for ( it = val.begin(); it != val.end(); ++it ) { for ( it = val.begin(); it != val.end(); ++it ) {
// NifStream( *it, file ); NifStream( *it, file );
//} }
for ( int i = 0; i < val.size(); i++) {
NifStream( val[i], file );
};
} }
class NIF; class NIF;
......
...@@ -148,7 +148,6 @@ vector<blk_ref> ReadNifList( string file_name ) { ...@@ -148,7 +148,6 @@ vector<blk_ref> ReadNifList( string file_name ) {
} }
uint unknownInt2 = ReadUInt( in ); uint unknownInt2 = ReadUInt( in );
//uint unknownInt3 = ReadUInt( in );
////Output ////Output
//cout << endl << endl //cout << endl << endl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment