mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 21:40:31 +00:00
fix warn reports for buffer oveeruns
also misc uninitialized vars
This commit is contained in:
parent
1230d0d280
commit
9e036f142b
6 changed files with 11 additions and 9 deletions
|
|
@ -352,8 +352,8 @@ class Journal
|
|||
|
||||
template<typename T>
|
||||
struct MethodRep: public FuncDecl {
|
||||
typename T::ObjPtr obj;
|
||||
typename T::MethodPtr method;
|
||||
typename T::ObjPtr obj = NULL;
|
||||
typename T::MethodPtr method = NULL;
|
||||
virtual bool match(VoidPtr ptr,VoidMethod func) const {
|
||||
return obj == (typename T::ObjPtr)ptr && method == (typename T::MethodPtr)func;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue