Skip to content

Commit dfaabf8

Browse files
committed
vpr: Move functions_to_demote object out of .h into .cpp
1 parent 5897607 commit dfaabf8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

vpr/src/util/vpr_error.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
#include "vtr_log.h"
66
#include "vpr_error.h"
77

8+
// Set of function names for which the VPR_THROW errors are treated
9+
// as VTR_LOG_WARN
10+
static std::unordered_set<std::string> functions_to_demote;
11+
812
/* Date:June 15th, 2013
913
* Author: Daniel Chen
1014
* Purpose: Used to throw any internal VPR error or architecture

vpr/src/util/vpr_error.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ class VprError : public vtr::VtrError {
4848
t_vpr_error_type type_;
4949
};
5050

51-
// Set of function names for which the VPR_THROW errors are treated
52-
// as VTR_LOG_WARN
53-
static std::unordered_set<std::string> functions_to_demote;
54-
5551
// This function is used to save into the functions_to_demote set
5652
// all the function names which contain VPR_THROW errors that are
5753
// going to be demoted to be VTR_LOG_WARN

0 commit comments

Comments
 (0)