diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-31 18:38:30 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-31 18:38:30 -0500 |
commit | 945f0dd29d9d7b188e01ba27419c043bd0357bbb (patch) | |
tree | 30ef08811b1d5e368e38304e6e1f1d49344ca9ef /hscript/disk.hh | |
parent | f1e509603806b71a282c076e4c6ef2c632761cd9 (diff) | |
download | horizon-945f0dd29d9d7b188e01ba27419c043bd0357bbb.tar.gz horizon-945f0dd29d9d7b188e01ba27419c043bd0357bbb.tar.bz2 horizon-945f0dd29d9d7b188e01ba27419c043bd0357bbb.tar.xz horizon-945f0dd29d9d7b188e01ba27419c043bd0357bbb.zip |
hscript: Remove unused paramaters and de-const-ify DiskLabel::type
Diffstat (limited to 'hscript/disk.hh')
-rw-r--r-- | hscript/disk.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/disk.hh b/hscript/disk.hh index 53e2749..f3a8a4c 100644 --- a/hscript/disk.hh +++ b/hscript/disk.hh @@ -57,7 +57,7 @@ public: /*! Retrieve the block device that this key identifies. */ const std::string device() const { return this->_block; } /*! Retrieve the type of disklabel for the block device. */ - const LabelType type() const { return this->_type; } + LabelType type() const { return this->_type; } static Key *parseFromData(const std::string &, int, int*, int*); bool validate(ScriptOptions) const override; |