Port rpmostree-builtin-shlib-backend to C++

Prep for using https://cxx.rs/
This commit is contained in:
Colin Walters 2020-12-21 16:08:51 +00:00 committed by OpenShift Merge Robot
parent 4462f16fa4
commit 761e92ab93
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ rpm_ostree_SOURCES = src/app/main.cxx \
src/app/rpmostree-builtin-status.cxx \
src/app/rpmostree-builtin-ex.cxx \
src/app/rpmostree-builtin-testutils.cxx \
src/app/rpmostree-builtin-shlib-backend.c \
src/app/rpmostree-builtin-shlib-backend.cxx \
src/app/rpmostree-builtin-db.c \
src/app/rpmostree-builtin-start-daemon.c \
src/app/rpmostree-builtin-finalize-deployment.c \

View File

@ -71,7 +71,7 @@ impl_packagelist_from_commit (OstreeRepo *repo, const char *commit, GError **err
{
if (g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND))
return g_variant_new_maybe ((GVariantType*) RPMOSTREE_SHLIB_IPC_PKGLIST, NULL);
g_propagate_error (error, g_steal_pointer (&local_error));
g_propagate_error (error, util::move_nullify (local_error));
return NULL;
}