Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd81f987 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 5231632 from c7ecca34 to qt-release

Change-Id: Ie082e2f26a92b9e305d5f1e5eca9e045ca620817
parents 353913fa c7ecca34
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ class Lshal;
// Base class for all *Commands
class Command {
public:
    Command(Lshal& lshal) : mLshal(lshal) {}
    explicit Command(Lshal& lshal) : mLshal(lshal) {}
    virtual ~Command() = default;
    // Expect optind to be set by Lshal::main and points to the next argument
    // to process.
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ class Lshal;

class DebugCommand : public Command {
public:
    DebugCommand(Lshal &lshal) : Command(lshal) {}
    explicit DebugCommand(Lshal &lshal) : Command(lshal) {}
    ~DebugCommand() = default;
    Status main(const Arg &arg) override;
    void usage() const override;
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ class Lshal;

class HelpCommand : public Command {
public:
    HelpCommand(Lshal &lshal) : Command(lshal) {}
    explicit HelpCommand(Lshal &lshal) : Command(lshal) {}
    ~HelpCommand() = default;
    Status main(const Arg &arg) override;
    void usage() const override;
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ enum class HalType {

class ListCommand : public Command {
public:
    ListCommand(Lshal &lshal) : Command(lshal) {}
    explicit ListCommand(Lshal &lshal) : Command(lshal) {}
    virtual ~ListCommand() = default;
    Status main(const Arg &arg) override;
    void usage() const override;
+3 −3
Original line number Diff line number Diff line
@@ -25,8 +25,8 @@ namespace lshal {
template<typename S>
class NullableOStream {
public:
    NullableOStream(S &os) : mOs(&os) {}
    NullableOStream(S *os) : mOs(os) {}
    explicit NullableOStream(S &os) : mOs(&os) {}
    explicit NullableOStream(S *os) : mOs(os) {}
    NullableOStream &operator=(S &os) {
        mOs = &os;
        return *this;
@@ -57,7 +57,7 @@ public:
    S& buf() const {
        return *mOs;
    }
    operator bool() const {
    operator bool() const { // NOLINT(google-explicit-constructor)
        return mOs != nullptr;
    }
private:
Loading