Skip to content

Commit cd231d5

Browse files
committed
changes to make compilation more compatible with GCC - no optimization
1 parent 2ab7ea0 commit cd231d5

File tree

2 files changed

+129
-129
lines changed

2 files changed

+129
-129
lines changed

amf/public/include/core/Platform.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,12 +421,12 @@ namespace amf
421421
} AMFGuid;
422422

423423
#if defined(__cplusplus)
424-
AMF_INLINE bool AMFCompareGUIDs(const AMFGuid& guid1, const AMFGuid& guid2)
424+
static AMF_INLINE bool AMFCompareGUIDs(const AMFGuid& guid1, const AMFGuid& guid2)
425425
{
426426
return guid1 == guid2;
427427
}
428428
#else
429-
AMF_INLINE amf_bool AMFCompareGUIDs(const struct AMFGuid guid1, const struct AMFGuid guid2)
429+
static AMF_INLINE amf_bool AMFCompareGUIDs(const struct AMFGuid guid1, const struct AMFGuid guid2)
430430
{
431431
return memcmp(&guid1, &guid2, sizeof(guid1)) == 0;
432432
}

0 commit comments

Comments
 (0)