Commit 91adaaaa by xiongziliang

回滚代码

parent eb2c514e
......@@ -76,8 +76,8 @@ inline void AMFValue::init() {
}
}
AMFValue::AMFValue() :
_type(AMF_NULL) {
AMFValue::AMFValue(AMFType type) :
_type(type) {
init();
}
......
......@@ -55,7 +55,7 @@ public:
typedef std::map<std::string, AMFValue> mapType;
typedef std::vector<AMFValue> arrayType;
AMFValue();
AMFValue(AMFType type = AMF_NULL);
AMFValue(const char *s);
AMFValue(const std::string &s);
AMFValue(double n);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论