Skip to content

Commit

Permalink
make use of dynamic_cast()-free handle variant
Browse files Browse the repository at this point in the history
  • Loading branch information
nmwsharp committed Oct 9, 2023
1 parent bd71207 commit ee0de92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fullscreen_artist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace polyscope {
std::vector<WeakHandle<FullscreenArtist>> existingFullscreenArtists;

FullscreenArtist::FullscreenArtist() {
existingFullscreenArtists.emplace_back(this->getWeakHandle<FullscreenArtist>());
existingFullscreenArtists.emplace_back(this->getWeakHandle<FullscreenArtist>(this));
}

FullscreenArtist::~FullscreenArtist() {
Expand Down

0 comments on commit ee0de92

Please sign in to comment.