diff options
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; |