mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-01 17:35:38 +00:00
[MachineVerifier] Drop a spurious const
As of r298987 the argument is a value that we std::move, so it shouldn't be const anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298999 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
65afd8323d
commit
cc54be812c
@ -260,7 +260,7 @@ namespace {
|
||||
static char ID; // Pass ID, replacement for typeid
|
||||
const std::string Banner;
|
||||
|
||||
MachineVerifierPass(const std::string banner = std::string())
|
||||
MachineVerifierPass(std::string banner = std::string())
|
||||
: MachineFunctionPass(ID), Banner(std::move(banner)) {
|
||||
initializeMachineVerifierPassPass(*PassRegistry::getPassRegistry());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user