sensor: Replace GpioLock with stdplus RAII helper
The old RAII helper was not move safe, although it was never moved in
the current code so it didn't have any effect on runtime safety.
Change-Id: Ica19ed7e60d699d86d0166b356cedb82e4a28b61
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/Makefile.am b/Makefile.am
index 98b73bd..2efbe77 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -47,13 +47,14 @@
$(PHOSPHOR_DBUS_INTERFACES_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
$(GPIOPLUS_LIBS) \
+ $(STDPLUS_LIBS) \
$(CODE_COVERAGE_LIBS)
libhwmon_la_CXXFLAGS = \
$(SDBUSPLUS_CFLAGS) \
$(SDEVENTPLUS_CFLAGS) \
$(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
$(PHOSPHOR_LOGGING_CFLAGS) \
- $(GPIOPLUS_CFLAGS) \
+ $(STDPLUS_CFLAGS) \
$(CODE_COVERAGE_CXXFLAGS)
libhwmon_la_SOURCES = \