File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 1- #ifndef SWSS_RETRY_CACHE_H
2- #define SWSS_RETRY_CACHE_H
1+ #pragma once
32
43#include < unordered_set>
54#include < unordered_map>
6- #include < sys/time.h>
7- #include < fstream>
8- #include < sstream>
9- #include < map>
10- #include " timestamp.h"
115#include " recorder.h"
126#include " rediscommand.h"
137
@@ -23,7 +17,6 @@ enum ConstraintType
2317 RETRY_CST_ECMP // ecmp resources exhausted
2418};
2519
26-
2720static inline std::ostream& operator <<(std::ostream& os, ConstraintType t) {
2821 switch (t) {
2922 case ConstraintType::RETRY_CST_DUMMY: return os << " RETRY_CST_DUMMY" ;
@@ -210,4 +203,3 @@ class RetryCache
210203
211204typedef std::unordered_map<std::string, std::shared_ptr<RetryCache>> RetryCacheMap;
212205
213- #endif /* SWSS_RETRY_CACHE_H */
You can’t perform that action at this time.
0 commit comments