Skip to content

Commit 1f56917

Browse files
committed
一点问题
1 parent e868894 commit 1f56917

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

src/GuidFactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

src/GuidFactory.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
//********************************************************************
77
#ifndef GuidFactory_h__
88
#define GuidFactory_h__
9-
9+
#include <stdint.h>
1010

1111
class GuidFactory
1212
{
1313
public:
1414
GuidFactory();
1515
~GuidFactory();
1616
void reset();
17-
int getNewGuid();
17+
uint32_t getNewGuid();
1818
private:
19-
int m_guid;
19+
uint32_t m_guid;
2020
};
2121

2222
#endif // GuidFactory_h__

src/QResArscParser.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ QResArscParser::QResArscParser(QObject* parent)
1717

1818
QResArscParser::~QResArscParser()
1919
{
20+
delete m_publicFinal;
21+
delete m_stringPool;
2022
g_publicFinal = NULL;
2123
g_publicStrPool = NULL;
2224
}

0 commit comments

Comments
 (0)