Switch to Face::getIoContext()
Change-Id: I56ea53ce8db3a3f24abe958065b9251eb025fbf7
diff --git a/examples/full-sync.cpp b/examples/full-sync.cpp
index 29d5311..12fd909 100644
--- a/examples/full-sync.cpp
+++ b/examples/full-sync.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2022, The University of Memphis
+ * Copyright (c) 2014-2023, The University of Memphis
*
* This file is part of PSync.
* See AUTHORS.md for complete list of PSync authors and contributors.
@@ -91,7 +91,7 @@
private:
ndn::Face m_face;
ndn::KeyChain m_keyChain;
- ndn::Scheduler m_scheduler{m_face.getIoService()};
+ ndn::Scheduler m_scheduler{m_face.getIoContext()};
psync::FullProducer m_producer;
uint64_t m_maxNumPublish;