Skip to content

Commit b772406

Browse files
generatedunixname1562235445439609meta-codesync[bot]
authored andcommitted
arvr/projects/ariane/aria_research_kit/projectaria_tools/core/calibration/camera_projections/Linear.h
Reviewed By: PiotrBrzyski Differential Revision: D114211785 fbshipit-source-id: b78a0562f0006e96fcc2aa5992775646e30bebe0
1 parent 880ae69 commit b772406

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • core/calibration/camera_projections

core/calibration/camera_projections/Linear.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#pragma once
1818

1919
#include <cmath>
20+
#include <string_view>
2021

2122
#include <calibration/camera_projections/Common.h>
2223

@@ -32,8 +33,8 @@ class LinearProjection {
3233
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
3334

3435
static constexpr int kNumParams = 4;
35-
static constexpr char kName[] = "Linear";
36-
static constexpr char kDescription[] = "fx, fy, cx, cy";
36+
static constexpr std::string_view kName = "Linear";
37+
static constexpr std::string_view kDescription = "fx, fy, cx, cy";
3738
static constexpr int kNumDistortionParams = 0;
3839
static constexpr int kFocalXIdx = 0;
3940
static constexpr int kFocalYIdx = 1;

0 commit comments

Comments
 (0)