Skip to content

Commit 9a099b7

Browse files
committed
remove redundant headers
1 parent 9a28a21 commit 9a099b7

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

orchagent/retrycache.h

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
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-
2720
static 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

211204
typedef std::unordered_map<std::string, std::shared_ptr<RetryCache>> RetryCacheMap;
212205

213-
#endif /* SWSS_RETRY_CACHE_H */

0 commit comments

Comments
 (0)