neteja tidy (29 → 0) i migració JA_* → Ja::

This commit is contained in:
2026-05-16 18:40:00 +02:00
parent 75fd037251
commit d1cf6f5529
22 changed files with 798 additions and 745 deletions
+6 -6
View File
@@ -12,19 +12,19 @@
// ── Singleton ────────────────────────────────────────────────────────────────
KeyConfig* KeyConfig::instance_ = nullptr;
KeyConfig* KeyConfig::instance = nullptr;
void KeyConfig::init(const std::string& yaml_path) {
instance_ = new KeyConfig();
instance_->load(yaml_path);
instance = new KeyConfig();
instance->load(yaml_path);
}
void KeyConfig::destroy() {
delete instance_;
instance_ = nullptr;
delete instance;
instance = nullptr;
}
auto KeyConfig::get() -> KeyConfig* { return instance_; }
auto KeyConfig::get() -> KeyConfig* { return instance; }
// ── Carga del YAML ──────────────────────────────────────────────────────────