server runs on OpenWrt

This commit is contained in:
badaix 2016-04-02 23:20:45 +02:00
parent 212c9c1c6b
commit 41db245efc
4 changed files with 42 additions and 34 deletions

View file

@ -30,6 +30,13 @@ public:
protected:
virtual void initEncoder();
template<typename T>
void assign(void* pointer, T val)
{
T* p = (T*)pointer;
*p = val;
}
};