Changeset 79772 in vbox for trunk/src/VBox
- Timestamp:
- Jul 14, 2019 9:11:30 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/Dhcpd/DhcpdInternal.h
r79763 r79772 34 34 #include <vector> 35 35 36 #if __cplusplus >= 199711 36 #ifndef IN_VBOXSVC 37 38 # if __cplusplus >= 199711 37 39 #include <memory> 38 40 using std::shared_ptr; 39 # else40 # include <tr1/memory>41 # else 42 # include <tr1/memory> 41 43 using std::tr1::shared_ptr; 42 # endif44 # endif 43 45 46 class DhcpOption; 47 /** DHCP option map (keyed by option number, DhcpOption value). */ 48 typedef std::map<uint8_t, std::shared_ptr<DhcpOption> > optmap_t; 49 50 #endif /* !IN_VBOXSVC */ 44 51 45 52 /** Byte vector. */ … … 48 55 /** Raw DHCP option map (keyed by option number, byte vector value). */ 49 56 typedef std::map<uint8_t, octets_t> rawopts_t; 50 51 #ifndef IN_VBOXSVC52 class DhcpOption;53 /** DHCP option map (keyed by option number, DhcpOption value). */54 typedef std::map<uint8_t, std::shared_ptr<DhcpOption> > optmap_t;55 #endif56 57 57 58
Note:
See TracChangeset
for help on using the changeset viewer.