Skip to content

Commit 3b6533e

Browse files
committed
gpl: make various fmt strings private
Signed-off-by: Matt Liberty <[email protected]>
1 parent 5693b53 commit 3b6533e

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/gpl/include/gpl/Replace.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,4 @@ class Replace
211211
std::string gui_debug_images_path_ = "REPORTS_DIR";
212212
};
213213

214-
inline constexpr const char* format_label_int = "{:27} {:10}";
215-
inline constexpr const char* format_label_float = "{:27} {:10.4f}";
216-
inline constexpr const char* format_label_um2 = "{:27} {:10.3f} um^2";
217-
inline constexpr const char* format_label_percent = "{:27} {:10.2f} %";
218-
inline constexpr const char* format_label_um2_with_delta
219-
= "{:27} {:10.3f} um^2 ({:+.2f}%)";
220214
} // namespace gpl

src/gpl/src/nesterovBase.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,4 +1350,11 @@ inline bool isValidSigType(const odb::dbSigType& db_type)
13501350
|| db_type == odb::dbSigType::CLOCK);
13511351
}
13521352

1353+
inline constexpr const char* format_label_int = "{:27} {:10}";
1354+
inline constexpr const char* format_label_float = "{:27} {:10.4f}";
1355+
inline constexpr const char* format_label_um2 = "{:27} {:10.3f} um^2";
1356+
inline constexpr const char* format_label_percent = "{:27} {:10.2f} %";
1357+
inline constexpr const char* format_label_um2_with_delta
1358+
= "{:27} {:10.3f} um^2 ({:+.2f}%)";
1359+
13531360
} // namespace gpl

0 commit comments

Comments
 (0)