From e9f4292be3f90bbf4325455329dec619d8932f39 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Tue, 17 May 2016 08:58:06 -0700 Subject: [PATCH] Add cli_udp.cpp to sources and remove c++11 dependencies. (#41) --- src/cli/Makefile.am | 1 + src/cli/cli_udp.hpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cli/Makefile.am b/src/cli/Makefile.am index 1549a61d9..f2134e9ad 100644 --- a/src/cli/Makefile.am +++ b/src/cli/Makefile.am @@ -40,6 +40,7 @@ libopenthread_cli_a_CPPFLAGS = \ libopenthread_cli_a_SOURCES = \ cli.cpp \ cli_serial.cpp \ + cli_udp.cpp \ $(NULL) noinst_HEADERS = \ diff --git a/src/cli/cli_udp.hpp b/src/cli/cli_udp.hpp index 3ff8dcbdc..4e205dd5f 100644 --- a/src/cli/cli_udp.hpp +++ b/src/cli/cli_udp.hpp @@ -53,7 +53,7 @@ public: * @retval kThreadError_None Successfully started the server. * */ - ThreadError Start(void) final; + ThreadError Start(void); /** * This method delivers output to the client. @@ -64,7 +64,7 @@ public: * @retval kThreadError_None Successfully delivered output the client. * */ - ThreadError Output(const char *aBuf, uint16_t aBufLength) final; + ThreadError Output(const char *aBuf, uint16_t aBufLength); private: static void HandleUdpReceive(void *aContext, otMessage aMessage, const otMessageInfo *aMessageInfo);