Skip to content

Commit

Permalink
fix: MMVII: compilation errors at init and array unbound
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvanosky committed Aug 16, 2023
1 parent 7042fa3 commit 4002963
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion MMVII/include/MMVII_Ptxd.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ template <class Type,const int Dim> class cPtxd
}

/// Some function requires default constructor (serialization ?)
cPtxd() {}
cPtxd() : mCoords{} {}

/* I would prefer not inline but : cannot make work explicit instance of a
a specific method, and explicit of the whole class create problem
Expand Down
1 change: 1 addition & 0 deletions MMVII/include/SymbDer/SymbDer_Common.h
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ template <class Type> class cName2Calc
{
if (SVP) return nullptr;
UserSError("Cannot extract allocator. Check that this application was recompiled after code generation",aName);
return nullptr;
}
return anIter->second;
}
Expand Down

0 comments on commit 4002963

Please sign in to comment.