Parcourir la source

export hv::NetAddr

ithewei il y a 1 an
Parent
commit
7a8aad7061
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      cpputil/hstring.h

+ 1 - 1
cpputil/hstring.h

@@ -75,7 +75,7 @@ HV_EXPORT std::string trim_pairs(const std::string& str, const char* pairs = PAI
 HV_EXPORT std::string replace(const std::string& str, const std::string& find, const std::string& rep);
 HV_EXPORT std::string replaceAll(const std::string& str, const std::string& find, const std::string& rep);
 
-struct NetAddr {
+struct HV_EXPORT NetAddr {
     std::string     ip;
     int             port;