Skip to content

Commit e383c98

Browse files
fix two other missing terminating " character error when capnproto is disabled
1 parent 40274a1 commit e383c98

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

vpr/src/place/delay_model/override_delay_model.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ void OverrideDelayModel::set_base_delay_model(std::unique_ptr<DeltaDelayModel> b
202202
void OverrideDelayModel::read(const std::string& file) {
203203
#ifndef VTR_ENABLE_CAPNPROTO
204204
VPR_THROW(VPR_ERROR_PLACE,
205-
"OverrideDelayModel::read is disabled because VTR_ENABLE_CAPNPROTO=OFF. "
206-
"Re-compile with CMake option VTR_ENABLE_CAPNPROTO=ON to enable.");
205+
"OverrideDelayModel::read is disabled because VTR_ENABLE_CAPNPROTO=OFF. "
206+
"Re-compile with CMake option VTR_ENABLE_CAPNPROTO=ON to enable.");
207207
#else
208208
MmapFile f(file);
209209

vpr/src/place/delay_model/simple_delay_model.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void SimpleDelayModel::read(const std::string& file) {
5555
#ifndef VTR_ENABLE_CAPNPROTO
5656
VPR_THROW(VPR_ERROR_PLACE,
5757
"SimpleDelayModel::read is disabled because VTR_ENABLE_CAPNPROTO=OFF. "
58-
"Re-compile with CMake option VTR_ENABLE_CAPNPROTO=ON to enable.\");
58+
"Re-compile with CMake option VTR_ENABLE_CAPNPROTO=ON to enable.");
5959
#else
6060
// MmapFile object creates an mmap of the specified path, and will munmap
6161
// when the object leaves scope.
@@ -104,7 +104,7 @@ void SimpleDelayModel::write(const std::string& file) const {
104104
#ifndef VTR_ENABLE_CAPNPROTO
105105
VPR_THROW(VPR_ERROR_PLACE,
106106
"SimpleDelayModel::write is disabled because VTR_ENABLE_CAPNPROTO=OFF. "
107-
"Re-compile with CMake option VTR_ENABLE_CAPNPROTO=ON to enable.\");
107+
"Re-compile with CMake option VTR_ENABLE_CAPNPROTO=ON to enable.");
108108
#else
109109
// MallocMessageBuilder object generates capnproto message builder,
110110
// using malloc for buffer allocation.

0 commit comments

Comments
 (0)