Commit 91adaaaa by xiongziliang

回滚代码

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