fix c++ formatting

This commit is contained in:
Emil Tin 2016-11-17 08:05:26 +01:00 committed by Patrick Niklaus
parent f5bf788814
commit a5756fc764

View File

@ -35,7 +35,7 @@ template <class T>
auto get_value_by_key(T const &object, const char *key) -> decltype(object.get_value_by_key(key)) auto get_value_by_key(T const &object, const char *key) -> decltype(object.get_value_by_key(key))
{ {
auto v = object.get_value_by_key(key); auto v = object.get_value_by_key(key);
if( v && *v ) { // non-empty string? if (v && *v) { // non-empty string?
return v; return v;
} else { } else {
return NULL; return NULL;