projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Give each eventbase a wheeltimer
[folly.git]
/
folly
/
io
/
async
/
TimeoutManager.h
diff --git
a/folly/io/async/TimeoutManager.h
b/folly/io/async/TimeoutManager.h
index 2b35574ccfbfb8d6ed8f29c4a8491690b9e83cef..e7df72e9893edfa4d221f3506c87683011548efe 100644
(file)
--- a/
folly/io/async/TimeoutManager.h
+++ b/
folly/io/async/TimeoutManager.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright 201
5
Facebook, Inc.
+ * Copyright 201
6
Facebook, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@
-41,7
+41,7
@@
class TimeoutManager {
NORMAL
};
NORMAL
};
- virtual ~TimeoutManager()
{}
+ virtual ~TimeoutManager()
= default;
/**
* Attaches/detaches TimeoutManager to AsyncTimeout
/**
* Attaches/detaches TimeoutManager to AsyncTimeout
@@
-65,7
+65,7
@@
class TimeoutManager {
* This is used to mark the beginning of a new loop cycle by the
* first handler fired within that cycle.
*/
* This is used to mark the beginning of a new loop cycle by the
* first handler fired within that cycle.
*/
- virtual
bool
bumpHandlingTime() = 0;
+ virtual
void
bumpHandlingTime() = 0;
/**
* Helper method to know whether we are running in the timeout manager
/**
* Helper method to know whether we are running in the timeout manager