Skip to content

Commit

Permalink
Merge branch 'venediktov:cxx23' into cxx23
Browse files Browse the repository at this point in the history
  • Loading branch information
cxx24 committed Jun 25, 2024
2 parents 1562de6 + 4e75254 commit 6a6c009
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions rtb/core/openrtb.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,10 @@ namespace openrtb {

};

struct Regulations {};
template<typename T>
struct Regulations {
int coppa{};
};

template<typename T>
struct Native {
Expand Down Expand Up @@ -502,7 +505,7 @@ namespace openrtb {
std::vector<T> badv; ///< Blocked advertiser domains
std::vector<T> bapp; ///< Block list of applications by their platform-specific exchangeindependent application identifiers
boost::optional<Source<T>> source; ///< A Sorce object
boost::optional<Regulations> regs; ///< Regulations Object list (OpenRTB 2.2)
boost::optional<Regulations<T>> regs; ///< Regulations Object list (OpenRTB 2.2)
T ext; //jsonv::value ext; ///< Protocol extensions
T unparseable; //jsonv::value unparseable; ///< Unparseable fields get put here

Expand Down

0 comments on commit 6a6c009

Please sign in to comment.