Skip to content

Commit

Permalink
refactor [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
markaren committed Jun 20, 2024
1 parent 4e914d6 commit c32e5fe
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/threepp/core/BufferGeometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,9 @@ namespace {
}

return FloatBufferAttribute::create(array2, itemSize, normalized);

} else {

throw std::runtime_error("Unsupported operation");
}

throw std::runtime_error("Unsupported operation");
}

}// namespace
Expand Down

0 comments on commit c32e5fe

Please sign in to comment.