summaryrefslogtreecommitdiffstats
path: root/ahl-binding/interrupt.hpp
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-12-18 10:37:24 +0100
committerLoïc Collignon <loic.collignon@iot.bzh>2018-12-18 12:50:04 +0100
commit256b802be755e6e4d0f8bd4540c798c847b622db (patch)
treee1c3edcea4a1a6cbce6ad10d2a0c506677847d35 /ahl-binding/interrupt.hpp
parent22c3fc2ae2ba2125bc3af55ab8e6de4bc4102ac6 (diff)
Fix indentation and trailing whitespaces
Convert every indentation to tab instead of spaces and get rid of mixed tab/spaces indentations. Also remove few trailing whitespaces. Change-Id: Ic4a8f2adcacb99789a403aefe6a16daaffee5cd6 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'ahl-binding/interrupt.hpp')
-rw-r--r--ahl-binding/interrupt.hpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/ahl-binding/interrupt.hpp b/ahl-binding/interrupt.hpp
index c123699..d0caf79 100644
--- a/ahl-binding/interrupt.hpp
+++ b/ahl-binding/interrupt.hpp
@@ -11,27 +11,27 @@ class role_t;
class interrupt_t
{
private:
- std::string type_;
- json_object* args_;
- std::vector<std::tuple<std::string, uint32_t>> applied_on_;
+ std::string type_;
+ json_object* args_;
+ std::vector<std::tuple<std::string, uint32_t>> applied_on_;
public:
- explicit interrupt_t() = default;
- explicit interrupt_t(const interrupt_t&) = default;
- explicit interrupt_t(interrupt_t&&) = default;
- ~interrupt_t() = default;
+ explicit interrupt_t() = default;
+ explicit interrupt_t(const interrupt_t&) = default;
+ explicit interrupt_t(interrupt_t&&) = default;
+ ~interrupt_t() = default;
- interrupt_t& operator=(const interrupt_t&) = default;
- interrupt_t& operator=(interrupt_t&&) = default;
+ interrupt_t& operator=(const interrupt_t&) = default;
+ interrupt_t& operator=(interrupt_t&&) = default;
- explicit interrupt_t(json_object* o);
- interrupt_t& operator<<(json_object* o);
+ explicit interrupt_t(json_object* o);
+ interrupt_t& operator<<(json_object* o);
- std::string type() const;
- json_object* args() const;
+ std::string type() const;
+ json_object* args() const;
- void type(std::string v);
- void args(json_object* v);
- int apply(afb_req_t req, const role_t& role);
- void clear();
+ void type(std::string v);
+ void args(json_object* v);
+ int apply(afb_req_t req, const role_t& role);
+ void clear();
};