mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 15:31:05 +01:00
[atexit] Fix extra semicolon
Fixes https://github.com/harfbuzz/harfbuzz/issues/5290
This commit is contained in:
1 parent
bc15ebdea1
commit
32b36fa84c
1 file changed
+1
-1
@@ -465,7 +465,7 @@ static int HB_UNUSED _hb_errno = 0;
|
||||
# define hb_atexit atexit
|
||||
# else
|
||||
template <void (*function) (void)> struct hb_atexit_t { ~hb_atexit_t () { function (); } };
|
||||
# define hb_atexit(f) static hb_atexit_t<f> _hb_atexit_##__LINE__;
|
||||
# define hb_atexit(f) static hb_atexit_t<f> _hb_atexit_##__LINE__
|
||||
# endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user