Browse Source

branch2.cpp

toml4
Antonio SJ Musumeci 10 months ago
parent
commit
35b573c5fa
  1. 2
      src/branch2.cpp

2
src/branch2.cpp

@ -8,8 +8,8 @@ Branch2::Branch2()
} }
Branch2::Branch2(toml::value const &v_) Branch2::Branch2(toml::value const &v_)
: mode(Mode::RW)
{ {
enabled = v_.at("enabled").as_boolean(); enabled = v_.at("enabled").as_boolean();
mode = Mode::RW;
// mode = v_.at("mode").as_string(); // mode = v_.at("mode").as_string();
} }
Loading…
Cancel
Save