Changing jerry_ref_unused_variables signature to take values by const reference.
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ extern void __noreturn jerry_unimplemented (const char *comment, const char *fil
|
|||||||
/**
|
/**
|
||||||
* Mark for unreachable points and unimplemented cases
|
* Mark for unreachable points and unimplemented cases
|
||||||
*/
|
*/
|
||||||
template<typename... values> extern void jerry_ref_unused_variables (values... unused);
|
template<typename... values> extern void jerry_ref_unused_variables (const values & ... unused);
|
||||||
|
|
||||||
#if !defined (JERRY_NDEBUG) && defined (__TARGET_HOST)
|
#if !defined (JERRY_NDEBUG) && defined (__TARGET_HOST)
|
||||||
#define JERRY_UNREACHABLE() \
|
#define JERRY_UNREACHABLE() \
|
||||||
|
|||||||
Reference in New Issue
Block a user