Prechádzať zdrojové kódy

Remove unused default on AllocateName. (#3591)

Jon Ross-Perkins 2 rokov pred
rodič
commit
b3c82bf0d3
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      toolchain/sem_ir/formatter.cpp

+ 1 - 1
toolchain/sem_ir/formatter.cpp

@@ -257,7 +257,7 @@ class InstNamer {
     }
 
     auto AllocateName(const InstNamer& namer, Parse::NodeId node,
-                      std::string name = "") -> Name {
+                      std::string name) -> Name {
       // The best (shortest) name for this instruction so far, and the current
       // name for it.
       Name best;