Skip to content

Commit

Permalink
doc: workaround for PocoDoc failure to parse Any.h
Browse files Browse the repository at this point in the history
  • Loading branch information
obiltschnig committed Feb 14, 2025
1 parent e7687d4 commit 4c2128c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Foundation/include/Poco/Any.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,12 @@ union Placeholder

private:
using AlignerType = std::max_align_t;
#ifndef POCO_DOC
static_assert(
sizeof(AlignerType) < SizeV,
"Aligner type is bigger than the actual storage, so SizeV should be made bigger otherwise you simply waste unused memory."
);
#endif

enum Allocation : unsigned char
{
Expand Down

0 comments on commit 4c2128c

Please sign in to comment.