server: rework for updated Sexp/CommandHandler

Rework for the new APIs.
This commit is contained in:
Dirk-Jan C. Binnema
2022-11-07 18:33:01 +02:00
parent 58176f8438
commit e1dd6f10b1
2 changed files with 228 additions and 278 deletions

View File

@ -49,7 +49,7 @@ public:
* @param sexp an s-expression
* @param flags flags that influence the behavior
*/
using Output = std::function<void(Sexp&& sexp, OutputFlags flags)>;
using Output = std::function<void(const Sexp& sexp, OutputFlags flags)>;
/**
* Construct a new server