Replace struct StorePath with class StorePath

also a similar case with struct Goal
This commit is contained in:
Matthew Bauer 2020-06-17 13:26:37 -04:00
parent 2f51cd8dc9
commit f767bedfac
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ namespace nix {
class Store;
class EvalState;
struct StorePath;
class StorePath;
enum RepairFlag : bool;

View file

@ -86,7 +86,7 @@ struct HookInstance;
/* A pointer to a goal. */
class Goal;
struct Goal;
class DerivationGoal;
typedef std::shared_ptr<Goal> GoalPtr;
typedef std::weak_ptr<Goal> WeakGoalPtr;