diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-07-28 15:06:28 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-08 17:24:00 +0200 |
commit | b1086ca88caec808780162f068b04a8e9af89b58 (patch) | |
tree | 49be5e251d22e2e3d1c69a992e06958565273817 /src | |
parent | daa317b67e3fa535712cfcfee923012252c7b911 (diff) |
json_helper: clang-format
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/json_helper.cpp | 4 | ||||
-rw-r--r-- | src/json_helper.hpp | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/json_helper.cpp b/src/json_helper.cpp index 45d2cb3..ea58d3f 100644 --- a/src/json_helper.cpp +++ b/src/json_helper.cpp @@ -40,7 +40,9 @@ json_object *to_json(genivi::surface_properties const &s) { json_object_object_add(j, "src", jsrc); // {"visibility", s.visibility}, - json_object_object_add(j, "visibility", json_object_new_boolean(static_cast<json_bool>(s.visibility == 1))); + json_object_object_add( + j, "visibility", + json_object_new_boolean(static_cast<json_bool>(s.visibility == 1))); // {"opacity", s.opacity}, json_object_object_add(j, "opacity", json_object_new_double(s.opacity)); diff --git a/src/json_helper.hpp b/src/json_helper.hpp index b9d3c92..7d6e77e 100644 --- a/src/json_helper.hpp +++ b/src/json_helper.hpp @@ -1,9 +1,9 @@ #ifndef TMCAGLWM_JSON_HELPER_HPP #define TMCAGLWM_JSON_HELPER_HPP -#include <json.hpp> -#include "wayland.hpp" #include "result.hpp" +#include "wayland.hpp" +#include <json.hpp> struct json_object; |