Switch to Face::getIoContext()
Change-Id: I6c5242ead4dc6d5d37c0fa77c3e68a55d60a87bc
diff --git a/src/logic.cpp b/src/logic.cpp
index c2ca8f8..d93db65 100644
--- a/src/logic.cpp
+++ b/src/logic.cpp
@@ -1,6 +1,6 @@
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
/*
- * Copyright (c) 2012-2022 University of California, Los Angeles
+ * Copyright (c) 2012-2023 University of California, Los Angeles
*
* This file is part of ChronoSync, synchronization library for distributed realtime
* applications for NDN.
@@ -101,11 +101,11 @@
, m_syncPrefix(syncPrefix)
, m_syncReset(Name(syncPrefix).append("reset"))
, m_defaultUserPrefix(defaultUserPrefix)
- , m_interestTable(m_face.getIoService())
+ , m_interestTable(m_face.getIoContext())
, m_isInReset(false)
, m_needPeriodReset(resetTimer > time::nanoseconds::zero())
, m_onUpdate(onUpdate)
- , m_scheduler(m_face.getIoService())
+ , m_scheduler(m_face.getIoContext())
, m_rng(ndn::random::getRandomNumberEngine())
, m_rangeUniformRandom(100, 500)
, m_reexpressionJitter(100, 500)