xref: /openbmc/phosphor-pid-control/notimpl/writeonly.cpp (revision 46a755fce8dc0bdd9c0c5ea09d55d3e5494f335f)
1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright 2017 Google Inc
3 
4 #include "writeonly.hpp"
5 
6 #include "interfaces.hpp"
7 
8 #include <stdexcept>
9 
10 namespace pid_control
11 {
12 
read(void)13 ReadReturn WriteOnly::read(void)
14 {
15     throw std::runtime_error("Not supported.");
16 }
17 
18 } // namespace pid_control
19