From 811438c20e7f4c7ac6ab30968f55aad8559f526e Mon Sep 17 00:00:00 2001 From: tangxifan Date: Mon, 17 Oct 2022 14:20:23 -0700 Subject: [PATCH] [engine] syntax --- libs/libpcf/src/io/read_csv_io_pin_table.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/libpcf/src/io/read_csv_io_pin_table.h b/libs/libpcf/src/io/read_csv_io_pin_table.h index acf3473a5..50f5e3d2a 100644 --- a/libs/libpcf/src/io/read_csv_io_pin_table.h +++ b/libs/libpcf/src/io/read_csv_io_pin_table.h @@ -18,9 +18,9 @@ namespace openfpga { enum class e_pin_table_direction_convention { EXPLICIT = 0, QUICKLOGIC, - NUM_PIN_DIRECTION_CONVENTION + NUM_TYPES }; -constexpr std::array PIN_TABLE_DIRECTION_CONVENTION_STRING = {{"explicit", "quicklogic"}}; //String versions of side orientations +constexpr std::array(e_pin_table_direction_convention::NUM_TYPES)> PIN_TABLE_DIRECTION_CONVENTION_STRING = {{"explicit", "quicklogic"}}; //String versions of side orientations IoPinTable read_csv_io_pin_table(const char* fname, const e_pin_table_direction_convention& pin_dir_convention);