diff --git a/src/branch2.cpp b/src/branch2.cpp index fae8bfb4..ad207e39 100644 --- a/src/branch2.cpp +++ b/src/branch2.cpp @@ -3,5 +3,5 @@ Branch2::Branch2(toml::value const &v_) { - enabled = v_["enabled"].as_boolean(); + enabled = v_.at("enabled").as_boolean(); }