Fix CQS signal modernize-use-using in fbcode/vision/fair

Reviewed By: bottler

Differential Revision: D94879733

fbshipit-source-id: fc35eaaa723a2a035b3b204732add7ba8b225c57
This commit is contained in:
generatedunixname2645487282517272
2026-03-02 05:59:34 -08:00
committed by meta-codesync[bot]
parent d9839a95f2
commit 7a6157e38e
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ template <
std::is_same<T, double>::value || std::is_same<T, float>::value>>
struct vec2 {
T x, y;
typedef T scalar_t;
using scalar_t = T;
vec2(T x, T y) : x(x), y(y) {}
};

View File

@@ -18,7 +18,7 @@ template <
std::is_same<T, double>::value || std::is_same<T, float>::value>>
struct vec3 {
T x, y, z;
typedef T scalar_t;
using scalar_t = T;
vec3(T x, T y, T z) : x(x), y(y), z(z) {}
};