mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Add podman release build tooling + misc build fixes (#1455)
This commit is contained in:
parent
344014aa81
commit
fa3266ca7f
90 changed files with 1207 additions and 3657 deletions
|
|
@ -18,6 +18,8 @@
|
|||
|
||||
#include "to_string.hpp"
|
||||
|
||||
#include "fmt/core.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
|
|
@ -35,21 +37,13 @@ namespace str
|
|||
std::string
|
||||
to(const int int_)
|
||||
{
|
||||
char buf[24];
|
||||
|
||||
sprintf(buf,"%d",int_);
|
||||
|
||||
return buf;
|
||||
return fmt::format("{}",int_);
|
||||
}
|
||||
|
||||
std::string
|
||||
to(const uint64_t uint64_)
|
||||
{
|
||||
char buf[64];
|
||||
|
||||
sprintf(buf,"%llu",(unsigned long long)uint64_);
|
||||
|
||||
return buf;
|
||||
return fmt::format("{}",uint64_);
|
||||
}
|
||||
|
||||
std::string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue