Fixed formatting

This commit is contained in:
Bartek Kryza
2022-03-20 22:57:43 +01:00
parent d7e27841bc
commit f97d59247a
3 changed files with 19 additions and 18 deletions

View File

@@ -73,7 +73,8 @@ const std::vector<relationship> &element::relationships() const
void element::append(const element &e) { decorated_element::append(e); }
inja::json element::context() const {
inja::json element::context() const
{
inja::json ctx;
ctx["name"] = name();
ctx["alias"] = alias();

View File

@@ -1,19 +1,19 @@
/**
* src/common/model/source_location.cc
*
* Copyright (c) 2021-2022 Bartek Kryza <bkryza@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* src/common/model/source_location.cc
*
* Copyright (c) 2021-2022 Bartek Kryza <bkryza@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "source_location.h"