diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-10-21 17:22:36 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:18:31 -0300 |
commit | 4a05efa3768e572c72aea594506ca7ddd5639712 (patch) | |
tree | a0a3e74d9aab9bb4be33dce2fa26cf5febb9c785 /tests/libsample/mapuser.h | |
parent | b35f28ca167a5b8280ef37566966701f540b8933 (diff) |
Fixes SBK_CONVERTER macro and SbkEnumType structure.
Fixes provided by Hugo Parente Lima.
Unit test added.
Diffstat (limited to 'tests/libsample/mapuser.h')
-rw-r--r-- | tests/libsample/mapuser.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libsample/mapuser.h b/tests/libsample/mapuser.h index e08525ab9..938c6c14f 100644 --- a/tests/libsample/mapuser.h +++ b/tests/libsample/mapuser.h @@ -28,6 +28,7 @@ #include <utility> #include <string> #include "complex.h" +#include "bytearray.h" #include "libsamplemacros.h" @@ -45,6 +46,8 @@ public: inline void setMap(std::map<std::string, std::list<int> > map) { m_map = map; } inline std::map<std::string, std::list<int> > getMap() { return m_map; } + inline const std::map<int, ByteArray>& passMapIntValueType(const std::map<int, ByteArray>& arg) { return arg; } + private: std::map<std::string, std::list<int> > m_map; }; |