Skip to content

Commit acbec3a

Browse files
committed
Reflection: Small cleanup, NFC
1 parent 4c3aa34 commit acbec3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/public/Reflection/TypeLowering.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ class PrintTypeInfo {
4343
return OS;
4444
}
4545

46-
std::ostream &printHeader(std::string Name) {
47-
indent(Indent) << '(' << Name;
46+
std::ostream &printHeader(const std::string &name) {
47+
indent(Indent) << '(' << name;
4848
return OS;
4949
}
5050

5151
template<typename T>
52-
std::ostream &printField(std::string name, const T &value) {
52+
std::ostream &printField(const std::string &name, const T &value) {
5353
if (!name.empty())
5454
OS << " " << name << "=" << value;
5555
else

0 commit comments

Comments
 (0)