Skip to content

Commit c47a707

Browse files
committed
workaround remove not being safe with new compiler
1 parent edce0c5 commit c47a707

File tree

1 file changed

+1
-1
lines changed
  • source/mongoschema

1 file changed

+1
-1
lines changed

source/mongoschema/db.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ mixin template MongoSchema()
456456
}
457457

458458
/// Removes this object from the collection. Returns false when _id of this is not set.
459-
bool remove() @safe const
459+
bool remove() @trusted const
460460
{
461461
if (!_schema_object_id_.valid)
462462
return false;

0 commit comments

Comments
 (0)