Add #pragma pack to FString
This commit is contained in:
parent
cfc1c4ef25
commit
6b753c54ed
|
@ -38,6 +38,10 @@ namespace fc
|
|||
//----------------------------------------------------------------------
|
||||
// class emptyFString
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
#pragma pack(push)
|
||||
#pragma pack(1)
|
||||
|
||||
class emptyFString
|
||||
{
|
||||
public:
|
||||
|
@ -58,6 +62,7 @@ private:
|
|||
// Data Member
|
||||
static const FString* empty_string;
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
// emptyFString inline functions
|
||||
//----------------------------------------------------------------------
|
||||
|
|
|
@ -71,6 +71,9 @@ typedef std::vector<FString> FStringList;
|
|||
// class FString
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
#pragma pack(push)
|
||||
#pragma pack(1)
|
||||
|
||||
class FString
|
||||
{
|
||||
public:
|
||||
|
@ -274,7 +277,7 @@ class FString
|
|||
std::size_t bufsize;
|
||||
mutable char* c_string;
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
// FString inline functions
|
||||
//----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue