mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-09 13:37:47 +00:00
Massive fmtlib refactor
This commit is contained in:
@@ -319,7 +319,7 @@ int SoundMacro::assertPC(int pc) const {
|
||||
if (pc < 0)
|
||||
return -1;
|
||||
if (size_t(pc) >= m_cmds.size()) {
|
||||
fprintf(stderr, "SoundMacro PC bounds exceeded [%d/%d]\n", pc, int(m_cmds.size()));
|
||||
fmt::print(stderr, fmt("SoundMacro PC bounds exceeded [{}/{}]\n"), pc, int(m_cmds.size()));
|
||||
abort();
|
||||
}
|
||||
return pc;
|
||||
@@ -1103,17 +1103,17 @@ template std::vector<uint8_t> AudioGroupPool::toData<athena::Little>() const;
|
||||
|
||||
template <>
|
||||
void amuse::Curve::Enumerate<LittleDNA::Read>(athena::io::IStreamReader& r) {
|
||||
Log.report(logvisor::Fatal, "Curve binary DNA read not supported");
|
||||
Log.report(logvisor::Fatal, fmt("Curve binary DNA read not supported"));
|
||||
}
|
||||
|
||||
template <>
|
||||
void amuse::Curve::Enumerate<LittleDNA::Write>(athena::io::IStreamWriter& w) {
|
||||
Log.report(logvisor::Fatal, "Curve binary DNA write not supported");
|
||||
Log.report(logvisor::Fatal, fmt("Curve binary DNA write not supported"));
|
||||
}
|
||||
|
||||
template <>
|
||||
void amuse::Curve::Enumerate<LittleDNA::BinarySize>(size_t& sz) {
|
||||
Log.report(logvisor::Fatal, "Curve binary DNA size not supported");
|
||||
Log.report(logvisor::Fatal, fmt("Curve binary DNA size not supported"));
|
||||
}
|
||||
|
||||
template <>
|
||||
|
||||
Reference in New Issue
Block a user