diff options
Diffstat (limited to 'lib/sbuild/chroot/facet/userdata.cc')
-rw-r--r-- | lib/sbuild/chroot/facet/userdata.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/sbuild/chroot/facet/userdata.cc b/lib/sbuild/chroot/facet/userdata.cc index 95182ecd..7c91700e 100644 --- a/lib/sbuild/chroot/facet/userdata.cc +++ b/lib/sbuild/chroot/facet/userdata.cc @@ -73,7 +73,7 @@ namespace sbuild return ret; } - factory::facet_info userdata_info = + const factory::facet_info userdata_info = { "userdata", N_("User setting of custom configuration parameters"), @@ -130,9 +130,7 @@ namespace sbuild std::string const& userdata::get_name () const { - static const std::string name("userdata"); - - return name; + return userdata_info.name; } void |