forked from bpftrace/bpftrace
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes a few warnings reported by clang 14.0.7 (Android NDK r25c): - Remove unnecessary std::move() that prevents copy elision - BpfProgram class has a non-static member of a reference type, so the move assignment operator is implicitly deleted[1]; remove `= default` - Use reinterpret_cast in elf_parser to silence the warning about increased alignment requirement (the pointer is 8-byte aligned anyway) - Use the correct printf specifier for uint64_t [1] https://en.cppreference.com/w/cpp/language/move_assignment
- Loading branch information
Showing
4 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters