File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ void GuidFactory::reset()
1313{
1414 m_guid = 0 ;
1515}
16- int GuidFactory::getNewGuid ()
16+ uint32_t GuidFactory::getNewGuid ()
1717{
1818 return m_guid++;
1919}
Original file line number Diff line number Diff line change 66// ********************************************************************
77#ifndef GuidFactory_h__
88#define GuidFactory_h__
9-
9+ # include < stdint.h >
1010
1111class GuidFactory
1212{
1313public:
1414 GuidFactory ();
1515 ~GuidFactory ();
1616 void reset ();
17- int getNewGuid ();
17+ uint32_t getNewGuid ();
1818private:
19- int m_guid;
19+ uint32_t m_guid;
2020};
2121
2222#endif // GuidFactory_h__
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ QResArscParser::QResArscParser(QObject* parent)
1717
1818QResArscParser::~QResArscParser ()
1919{
20+ delete m_publicFinal;
21+ delete m_stringPool;
2022 g_publicFinal = NULL ;
2123 g_publicStrPool = NULL ;
2224}
You can’t perform that action at this time.
0 commit comments