mirror of
https://github.com/hannobraun/Fornjot
synced 2025-10-04 23:18:00 +00:00
Make helper struct private
This commit is contained in:
parent
f4a5d9064c
commit
5a91557cfb
@ -17,5 +17,5 @@ pub use self::{
|
||||
face_winding::InteriorCycleHasInvalidWinding,
|
||||
half_edge_connection::AdjacentHalfEdgesNotConnected,
|
||||
half_edge_has_no_sibling::HalfEdgeHasNoSibling,
|
||||
multiple_references::{MultipleReferencesToObject, ReferenceCounter},
|
||||
multiple_references::MultipleReferencesToObject,
|
||||
};
|
||||
|
@ -151,17 +151,9 @@ impl ValidationCheck<Solid> for MultipleReferencesToObject<HalfEdge, Cycle> {
|
||||
}
|
||||
}
|
||||
|
||||
// Warnings are temporarily silenced, until this struct can be made private.
|
||||
// This can happen once this validation check has been fully ported from the old
|
||||
// infrastructure.
|
||||
#[allow(missing_docs)]
|
||||
#[derive(Default)]
|
||||
pub struct ReferenceCounter<T, U>(HashMap<Handle<T>, Vec<Handle<U>>>);
|
||||
struct ReferenceCounter<T, U>(HashMap<Handle<T>, Vec<Handle<U>>>);
|
||||
|
||||
// Warnings are temporarily silenced, until this struct can be made private.
|
||||
// This can happen once this validation check has been fully ported from the old
|
||||
// infrastructure.
|
||||
#[allow(missing_docs)]
|
||||
impl<T, U> ReferenceCounter<T, U> {
|
||||
pub fn new() -> Self {
|
||||
Self(HashMap::new())
|
||||
|
Loading…
x
Reference in New Issue
Block a user