Fix MSVS build.
This commit is contained in:
		
							parent
							
								
									7316c48e9f
								
							
						
					
					
						commit
						7e80dae59b
					
				@ -74,9 +74,9 @@ class StaticRTree
 | 
				
			|||||||
    struct LeafNode
 | 
					    struct LeafNode
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        LeafNode() : object_count(0), objects() {}
 | 
					        LeafNode() : object_count(0), objects() {}
 | 
				
			||||||
        uint32_t object_count;
 | 
					        std::uint32_t object_count;
 | 
				
			||||||
        std::array<EdgeDataT, LEAF_NODE_SIZE> objects;
 | 
					        std::array<EdgeDataT, LEAF_NODE_SIZE> objects;
 | 
				
			||||||
        unsigned char leaf_page_padding[LEAF_PAGE_SIZE - sizeof(object_count) - sizeof(objects)];
 | 
					        unsigned char leaf_page_padding[LEAF_PAGE_SIZE - sizeof(std::uint32_t) - sizeof(std::array<EdgeDataT, LEAF_NODE_SIZE>)];
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
    static_assert(sizeof(LeafNode) == LEAF_PAGE_SIZE, "LeafNode size does not fit the page size");
 | 
					    static_assert(sizeof(LeafNode) == LEAF_PAGE_SIZE, "LeafNode size does not fit the page size");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user