mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Eliminate some warnings
This commit is contained in:
@@ -9,6 +9,10 @@ namespace ifcopenshell {
|
||||
struct profile_point {
|
||||
std::array<double, 2> xy;
|
||||
boost::optional<double> radius;
|
||||
|
||||
profile_point(const std::array<double, 2>& p, const boost::optional<double>& r = boost::none)
|
||||
: xy(p), radius(r) {
|
||||
}
|
||||
};
|
||||
|
||||
struct profile_point_with_edges {
|
||||
|
||||
@@ -298,22 +298,22 @@ struct AttributeValue {
|
||||
|
||||
AttributeValue()
|
||||
: index_(0)
|
||||
, array_((const in_memory_attribute_storage*)nullptr)
|
||||
, storage_model_(0)
|
||||
, array_((const in_memory_attribute_storage*)nullptr)
|
||||
{}
|
||||
|
||||
AttributeValue(const in_memory_attribute_storage* arr, uint8_t index)
|
||||
: index_(index)
|
||||
, array_(arr)
|
||||
, storage_model_(0)
|
||||
, array_(arr)
|
||||
{}
|
||||
|
||||
AttributeValue(IfcParse::impl::rocks_db_file_storage* db, size_t instance_name, uint8_t entity_or_type, uint8_t index)
|
||||
: index_(index)
|
||||
, array_(db)
|
||||
, storage_model_(1)
|
||||
, instance_name_(instance_name)
|
||||
, entity_or_type_(entity_or_type)
|
||||
, instance_name_(instance_name)
|
||||
, array_(db)
|
||||
{}
|
||||
|
||||
operator int() const;
|
||||
|
||||
Reference in New Issue
Block a user