Skip to content

Commit fdd4fb5

Browse files
committed
lib/avahi/ExplorerListener: move struct Flags to separate header
1 parent 654a729 commit fdd4fb5

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/lb/Cluster.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ void
596596
LbCluster::OnAvahiNewObject(const std::string &key,
597597
const InetAddress &address,
598598
AvahiStringList *txt,
599-
[[maybe_unused]] Flags flags) noexcept
599+
[[maybe_unused]] Avahi::ObjectFlags flags) noexcept
600600
{
601601
const auto arch = Avahi::GetArchFromTxt(txt);
602602
const auto weight = Avahi::GetWeightFromTxt(txt);

src/lb/Cluster.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ private:
244244
void OnAvahiNewObject(const std::string &key,
245245
const InetAddress &address,
246246
AvahiStringList *txt,
247-
Flags flags) noexcept override;
247+
Avahi::ObjectFlags flags) noexcept override;
248248
void OnAvahiRemoveObject(const std::string &key) noexcept override;
249249
#endif
250250
};

src/lb/PrometheusDiscovery.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void
6868
LbPrometheusDiscovery::OnAvahiNewObject(const std::string &key,
6969
const InetAddress &address,
7070
[[maybe_unused]] AvahiStringList *txt,
71-
[[maybe_unused]] Flags flags) noexcept
71+
[[maybe_unused]] Avahi::ObjectFlags flags) noexcept
7272
{
7373
members.insert_or_assign(key, address);
7474
}

src/lb/PrometheusDiscovery.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ private:
4040
void OnAvahiNewObject(const std::string &key,
4141
const InetAddress &address,
4242
AvahiStringList *txt,
43-
Flags flags) noexcept override;
43+
Avahi::ObjectFlags flags) noexcept override;
4444
void OnAvahiRemoveObject(const std::string &key) noexcept override;
4545
};

0 commit comments

Comments
 (0)