Skip to content

Bug: Redundant versions of parseSystemModelData cause compiler error #544

Description

@PhilipFackler

Description how to reproduce the bug

Calling parseSystemModelData("string-literal-filename") is ambiguous since the literal can convert to either a std::string or a std::filesystem::path.

The fix is simply to remove the overload that takes const std::string&. It is redundant since a std::string can also convert automatically to a std::filesystem::path.

GridKit™ version

develop branch at ad86689

System and environment details

This situation would cause an error regardless of environment

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions