File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
tests/core/019-export-matrix
vclib/core/include/vclib/types Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -152,10 +152,10 @@ void testFaceVector(const auto& pm)
152
152
{
153
153
auto faces = vcl::faceIndicesVector<VectorType>(pm);
154
154
155
- uint nIndices = countPerFaceVertexReferences (pm);
155
+ vcl:: uint nIndices = countPerFaceVertexReferences (pm);
156
156
REQUIRE (faces.size () == nIndices);
157
157
158
- uint i = 0 ;
158
+ vcl:: uint i = 0 ;
159
159
for (const auto & f : pm.faces ()) {
160
160
for (const auto * v : f.vertices ()) {
161
161
REQUIRE (faces[i] == pm.index (v));
Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ enum class MatrixStorageType { ROW_MAJOR, COLUMN_MAJOR };
79
79
* @param[in] e: The enum value.
80
80
* @return The value casted to the underlying type of the enum.
81
81
*/
82
+ // TODO: remove from c++23 (std::to_underlying)
82
83
template <typename E>
83
84
constexpr typename std::underlying_type<E>::type toUnderlying (E e) noexcept
84
85
{
You can’t perform that action at this time.
0 commit comments