summaryrefslogtreecommitdiff
path: root/image/backends/basic.hh
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-04-02 21:41:11 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-04-02 21:41:11 -0500
commitcd52d492ec08810fa0ba2425d5e01618a2e8741a (patch)
tree58597907a0e00d2acd0da28a2d46fb0898917da4 /image/backends/basic.hh
parentb9fa31365c91cfcbc891b36b411d3adc296ff6df (diff)
downloadhorizon-cd52d492ec08810fa0ba2425d5e01618a2e8741a.tar.gz
horizon-cd52d492ec08810fa0ba2425d5e01618a2e8741a.tar.bz2
horizon-cd52d492ec08810fa0ba2425d5e01618a2e8741a.tar.xz
horizon-cd52d492ec08810fa0ba2425d5e01618a2e8741a.zip
image: Truly dynamic backend registration
This allows one backend to provide multiple types. For example, our TarBackend can provide optional .gz, .bz2, and .xz compression.
Diffstat (limited to 'image/backends/basic.hh')
-rw-r--r--image/backends/basic.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/image/backends/basic.hh b/image/backends/basic.hh
index 95b94ae..d57a9ac 100644
--- a/image/backends/basic.hh
+++ b/image/backends/basic.hh
@@ -47,9 +47,9 @@ public:
/*! The intermediate directory which contains the sysroot the image
* should contain. */
- const std::string &ir_dir;
+ const std::string ir_dir;
/*! The path at which to write the image. */
- const std::string &out_path;
+ const std::string out_path;
};
struct BackendDescriptor {