summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frp.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/frp.cpp b/src/frp.cpp
index 142fcd4..a16950c 100644
--- a/src/frp.cpp
+++ b/src/frp.cpp
@@ -10,13 +10,16 @@ using std::move;
using std::mutex;
using std::nullopt;
using std::unique_lock;
-using std::weak_ptr;
mutex bhvTimeMutex;
condition_variable bhvTimeCond;
bool bhvTimeRunning = false;
uint64_t bhvTimeLast = 0;
+BhvTime::BhvTime(const BhvCurTime & ct):
+ BhvTime(ct.time())
+{}
+
BhvCurTime::BhvCurTime()
{
unique_lock lock(bhvTimeMutex);