aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/libsample/mapuser.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/libsample/mapuser.h b/tests/libsample/mapuser.h
index 938c6c14f..08582ac5f 100644
--- a/tests/libsample/mapuser.h
+++ b/tests/libsample/mapuser.h
@@ -46,6 +46,10 @@ 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; }
+ // Compile test
+ static void pointerToMap(std::map<std::string, std::string>* arg) {}
+ static void referenceToMap(std::map<std::string, std::string>& arg) {}
+
inline const std::map<int, ByteArray>& passMapIntValueType(const std::map<int, ByteArray>& arg) { return arg; }
private:
@@ -53,4 +57,3 @@ private:
};
#endif // MAPUSER_H
-