From f30e1a348f35e5ba9ff2d00d8f71edf095926d17 Mon Sep 17 00:00:00 2001 From: Loïc Collignon <loic.collignon@iot.bzh> Date: Tue, 18 Dec 2018 10:37:24 +0100 Subject: Fix indentation and trailing whitespaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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> --- ahl-binding/config_entry.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'ahl-binding/config_entry.cpp') diff --git a/ahl-binding/config_entry.cpp b/ahl-binding/config_entry.cpp index 65d7a40..8685d34 100644 --- a/ahl-binding/config_entry.cpp +++ b/ahl-binding/config_entry.cpp @@ -18,45 +18,45 @@ #include "config_entry.hpp" config_entry_t::config_entry_t(std::string fp, std::string fn) - : fullpath_{fp} - , filename_{fn} + : fullpath_{fp} + , filename_{fn} { } config_entry_t::config_entry_t(struct json_object* j) { - jcast(fullpath_, j, "fullpath"); - jcast(filename_, j, "filename"); + jcast(fullpath_, j, "fullpath"); + jcast(filename_, j, "filename"); } config_entry_t& config_entry_t::operator<<(struct json_object* j) { - jcast(fullpath_, j, "fullpath"); - jcast(filename_, j, "filename"); - return *this; + jcast(fullpath_, j, "fullpath"); + jcast(filename_, j, "filename"); + return *this; } std::string config_entry_t::fullpath() const { - return fullpath_; + return fullpath_; } std::string config_entry_t::filename() const { - return filename_; + return filename_; } std::string config_entry_t::filepath() const { - return fullpath_ + '/' + filename_; + return fullpath_ + '/' + filename_; } void config_entry_t::fullpath(std::string fp) { - fullpath_ = fp; + fullpath_ = fp; } void config_entry_t::finename(std::string fn) { - filename_ = fn; + filename_ = fn; } -- cgit