Skip to content

The build fails with the latest bout++: error: assigning to 'Laplacian *' from incompatible type 'std::unique_ptr<Laplacian>' #6

@yurivict

Description

@yurivict
/wrkdirs/usr/ports/science/bout++-merging-filaments/work/merging-filaments-ee5a7b9/merging-flux.cxx:159:17: error: assigning to 'Laplacian *' from incompatible type 'std::unique_ptr<Laplacian>'
  159 |     phiSolver = Laplacian::create(Options::getRoot()->getSection("phisolver"));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/bout++-merging-filaments/work/merging-filaments-ee5a7b9/merging-flux.cxx:160:17: error: assigning to 'Laplacian *' from incompatible type 'std::unique_ptr<Laplacian>'
  160 |     psiSolver = Laplacian::create(Options::getRoot()->getSection("psisolver"));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 warnings and 2 errors generated.
ninja: build stopped: subcommand failed.

log

Is this an obsolete, unmaintained project?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions