Fix build on old compilers when FASTDDS_STATISTICS is define (#2929)
Fix build on old compilers when FASTDDS_STATISTICS is define (#2929)

Signed-off-by: wangtong <d9c92ec7a322f05258e91a5651a44af2f6182a1b@xiaomi.com>

Signed-off-by: wangtong <d9c92ec7a322f05258e91a5651a44af2f6182a1b@xiaomi.com>
Co-authored-by: wangtong <d9c92ec7a322f05258e91a5651a44af2f6182a1b@xiaomi.com>
eProsima/Fast-DDS,eProsima/Fast-DDS,eProsima/Fast-DDS,eProsima/Fast-DDS,eProsima/Fast-DDS