Skip to content

Commit 8bebf2f

Browse files
authored
Update bin2cpp.cpp
added inline
1 parent ce9a932 commit 8bebf2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin2cpp20/bin2cpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ void convertStreamToString(bool sorted, std::string_view name, std::istream &in,
210210
}
211211
}
212212
out << "};\n";
213-
out << "unsigned long " << name << "_length {" << v.size() << "};\n";
213+
out << "inline unsigned long " << name << "_length {" << v.size() << "};\n";
214214
}
215215

216216
void stringOutputVector(const std::vector<unsigned char> &v) {

0 commit comments

Comments
 (0)