From 04bfa87f12766007634647119234b8a69f9e8893 Mon Sep 17 00:00:00 2001 From: Sven van Haastregt Date: Wed, 29 Mar 2017 15:25:06 +0000 Subject: [PATCH] [MachineVerifier] Drop a spurious const As of r298987 the argument is a value that we std::move, so it shouldn't be const anymore. llvm-svn: 298999 --- llvm/lib/CodeGen/MachineVerifier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/MachineVerifier.cpp b/llvm/lib/CodeGen/MachineVerifier.cpp index 5c263b3..fc40261 100644 --- a/llvm/lib/CodeGen/MachineVerifier.cpp +++ b/llvm/lib/CodeGen/MachineVerifier.cpp @@ -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()); } -- 2.7.4