mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 12:34:35 +03:00
[abi] Switched to C++17
This commit is contained in:
@@ -145,7 +145,7 @@ int main() {
|
||||
});
|
||||
|
||||
// Execute the function and test whether it works.
|
||||
typedef size_t (*Func)(size_t idx);
|
||||
using Func = size_t (*)(size_t idx);
|
||||
Func fn = (Func)span.rx();
|
||||
|
||||
printf("\n");
|
||||
|
||||
Reference in New Issue
Block a user