Fix missed changes for is_trivially_copyable and make gcc happy about them (#4)
This commit is contained in:
@@ -127,6 +127,6 @@ public:
|
|||||||
inline bool isOkRotation() const;
|
inline bool isOkRotation() const;
|
||||||
} LL_ALIGN_POSTFIX(16);
|
} LL_ALIGN_POSTFIX(16);
|
||||||
|
|
||||||
static_assert(std::is_trivially_copyable<LLMatrix3a>{}, "LLMatrix3a must be a trivially copyable type");
|
static_assert(std::is_trivially_copyable<LLMatrix3a>::value, "LLMatrix3a must be a trivially copyable type");
|
||||||
static_assert(std::is_trivially_copyable<LLRotation>{}, "LLRotation must be a trivially copyable type");
|
static_assert(std::is_trivially_copyable<LLRotation>::value, "LLRotation must be a trivially copyable type");
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1368,7 +1368,7 @@ void LLFloaterIMPanel::onSendMsg()
|
|||||||
|
|
||||||
if (mSessionType == SUPPORT_SESSION && getChildView("Support Check")->getValue())
|
if (mSessionType == SUPPORT_SESSION && getChildView("Support Check")->getValue())
|
||||||
{
|
{
|
||||||
utf8_text.insert(action ? 3 : 0, llformat(action ? " (%d%s)" : "(%d%s): ", LL_VIEWER_VERSION_BUILD, wstring_to_utf8str(LL_VIEWER_CHANNEL_GRK)));
|
utf8_text.insert(action ? 3 : 0, llformat(action ? " (%d%s)" : "(%d%s): ", LL_VIEWER_VERSION_BUILD, wstring_to_utf8str(LL_VIEWER_CHANNEL_GRK).data()));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( mSessionInitialized )
|
if ( mSessionInitialized )
|
||||||
|
|||||||
Reference in New Issue
Block a user