Fix tests that are only built on cmake. (#168)

Fixes #167.
This commit is contained in:
Peter Johnson
2016-12-24 01:58:12 -06:00
committed by GitHub
parent 459cc65b3f
commit 4b16999fbc
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
#include "ntcore.h"
std::string callback1(nt::StringRef name, nt::StringRef params_str,
const ConnectionInfo& conn_info) {
const nt::ConnectionInfo& conn_info) {
auto params = nt::UnpackRpcValues(params_str, NT_DOUBLE);
if (params.empty()) {
std::fputs("empty params?\n", stderr);