Fixing compilation 'Killed signal terminated program cc1plus' error
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "decorated_element.h"
|
||||
#include "enums.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "class_element.h"
|
||||
#include "enums.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "class_element.h"
|
||||
#include "enums.h"
|
||||
#include "method_parameter.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "decorated_element.h"
|
||||
#include "enums.h"
|
||||
#include "stylable_element.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
|
||||
#include "class_relationship.h"
|
||||
#include "decorated_element.h"
|
||||
#include "enums.h"
|
||||
|
||||
#include <atomic>
|
||||
#include <string>
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
|
||||
#include "util/util.h"
|
||||
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
namespace clanguml::class_diagram::model {
|
||||
|
||||
void method_parameter::set_type(const std::string &type) { type_ = type; }
|
||||
@@ -45,9 +43,9 @@ std::string method_parameter::to_string(
|
||||
using namespace clanguml::util;
|
||||
auto t = ns_relative(using_namespaces, type());
|
||||
if (default_value().empty())
|
||||
return fmt::format("{} {}", t, name());
|
||||
return t + " " + name();
|
||||
|
||||
return fmt::format("{} {} = {}", t, name(), default_value());
|
||||
return t + " " + name() + " = " + default_value();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "decorated_element.h"
|
||||
#include "enums.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
Reference in New Issue
Block a user