Skip to content

Commit

Permalink
fix reference location
Browse files Browse the repository at this point in the history
  • Loading branch information
gonuke committed Apr 16, 2024
1 parent 9b44b17 commit 8f3e31a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/package.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Package {
static std::string unpackaged_name() const { return unpackaged_name_; }

// returns the unpackaged singleton object
static Ptr unpackaged();
static Ptr& unpackaged();

private:
Package(std::string name,
Expand All @@ -65,7 +65,7 @@ class Package {

static const int unpackaged_id_ = 1;
static const char* unpackaged_name_ = "unpackaged";
static Ptr& unpackaged_ = NULL;
static Ptr unpackaged_ = NULL;
static int next_package_id_;

std::string name_;
Expand Down

0 comments on commit 8f3e31a

Please sign in to comment.