Skip to content

Commit

Permalink
pointless fetchTranslationUnit() call removed
Browse files Browse the repository at this point in the history
  • Loading branch information
denizzzka committed Jun 24, 2024
1 parent 898d67c commit 4ee44e2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/clang/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,6 @@ struct Cursor {
this._spelling = spelling;
this._spellingInit = true;
this.type = type;

this.trUnit = fetchTranslationUnit();
}

this()(ref return Cursor s) @safe @nogc pure nothrow {
Expand Down

0 comments on commit 4ee44e2

Please sign in to comment.