mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-04-21 12:31:43 +00:00
21 lines
284 B
C++
21 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);
|
|
}
|
|
}
|