Skip to content

Commit

Permalink
Attempted to have it compile with GCC (and not just with CLANG)
Browse files Browse the repository at this point in the history
  • Loading branch information
FlatAssembler committed Dec 15, 2024
1 parent 3bfcf66 commit 18220ae
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions stringManipulationHelperFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,6 @@ bool ends_with(
}

std::string demanglePointerType(std::string pointerType) {
if (!isPointerType(pointerType))
throw new std::exception(
"Some part of the compiler attempted to demangle a pointer type that "
"isn't actually a pointer type!");
if (pointerType.substr(0, std::string("PointerTo").size()) == "PointerTo")
return demanglePointerType(
pointerType.substr(std::string("PointerTo").size()) + "Pointer");
Expand Down

0 comments on commit 18220ae

Please sign in to comment.