mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
20 lines
284 B
C++
20 lines
284 B
C++
#include "branches2.hpp"
|
|
|
|
#include "fmt/core.h"
|
|
|
|
#include <iostream>
|
|
|
|
Branches2::Branches2()
|
|
{
|
|
|
|
}
|
|
|
|
Branches2::Branches2(toml::value const &v_)
|
|
{
|
|
auto const &tiers = toml::find(v_,"tier");
|
|
|
|
for(auto const &tier : tiers.as_array())
|
|
{
|
|
_branches.emplace_back(tier);
|
|
}
|
|
}
|