Switch to Face::getIoContext()

Change-Id: I720c876072a23348ece1f42974f5f092b89ac5a0
diff --git a/src/encryptor.cpp b/src/encryptor.cpp
index 25431bd..b41af4c 100644
--- a/src/encryptor.cpp
+++ b/src/encryptor.cpp
@@ -1,6 +1,6 @@
 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
 /*
- * Copyright (c) 2014-2022, Regents of the University of California
+ * Copyright (c) 2014-2023, Regents of the University of California
  *
  * NAC library is free software: you can redistribute it and/or modify it under the
  * terms of the GNU Lesser General Public License as published by the Free Software
@@ -45,7 +45,7 @@
   , m_onFailure(onFailure)
   , m_keyChain(keyChain)
   , m_face(face)
-  , m_scheduler(face.getIoService())
+  , m_scheduler(face.getIoContext())
 {
   regenerateCk();