mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Fix format string and/or arguments to match.
PiperOrigin-RevId: 488378036 Change-Id: I1e3dfa9a734f4c682f1b388f6ba54bf89bd98920
This commit is contained in:
parent
67bc67bbef
commit
3155cb0a67
@ -132,8 +132,8 @@ struct FileToc {
|
||||
|
||||
#endif // SANDBOXED_API_FILE_TOC_H_
|
||||
|
||||
#ifndef %3$s
|
||||
#define %3$s
|
||||
#ifndef %1$s
|
||||
#define %1$s
|
||||
|
||||
)";
|
||||
constexpr const char kHNamespaceBeginFmt[] =
|
||||
@ -226,8 +226,7 @@ int main(int argc, char* argv[]) {
|
||||
std::replace_if(
|
||||
header_guard.begin(), header_guard.end(),
|
||||
[](char c) { return !absl::ascii_isalnum(c); }, '_');
|
||||
absl::FPrintF(out_h.get(), kHFileHeaderFmt, package, toc_ident,
|
||||
header_guard);
|
||||
absl::FPrintF(out_h.get(), kHFileHeaderFmt, header_guard);
|
||||
if (have_ns) {
|
||||
absl::FPrintF(out_h.get(), kHNamespaceBeginFmt, ns);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user