comparison vamp-server/simple-server.cpp @ 154:80d85794d8cd

Another of those...
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 20 Jan 2017 18:07:07 +0000
parents c3ddc4a72561
children 0876b5e67afe
comparison
equal deleted inserted replaced
153:e558e042d9c7 154:80d85794d8cd
175 tag = r.getId().getTag(); 175 tag = r.getId().getTag();
176 return { RequestOrResponse::RpcId::Tag, 0, tag }; 176 return { RequestOrResponse::RpcId::Tag, 0, tag };
177 case piper::RpcRequest::Id::Which::NONE: 177 case piper::RpcRequest::Id::Which::NONE:
178 return { RequestOrResponse::RpcId::Absent, 0, "" }; 178 return { RequestOrResponse::RpcId::Absent, 0, "" };
179 } 179 }
180 return {}; 180 return { RequestOrResponse::RpcId::Absent, 0, "" };
181 } 181 }
182 182
183 static void 183 static void
184 buildId(piper::RpcResponse::Builder &b, const RequestOrResponse::RpcId &id) 184 buildId(piper::RpcResponse::Builder &b, const RequestOrResponse::RpcId &id)
185 { 185 {