From: Marcus Fritzsch Date: Fri, 28 Jul 2017 13:06:28 +0000 (+0200) Subject: json_helper: clang-format X-Git-Tag: 4.99.1~210 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=b1086ca88caec808780162f068b04a8e9af89b58;p=staging%2Fwindowmanager.git json_helper: clang-format Signed-off-by: Marcus Fritzsch --- 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(s.visibility == 1))); + json_object_object_add( + j, "visibility", + json_object_new_boolean(static_cast(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 -#include "wayland.hpp" #include "result.hpp" +#include "wayland.hpp" +#include struct json_object;