From 557187fbd706b743b4ee61fa745307b2a4292f9f Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 2 Dec 2015 13:42:42 +0100 Subject: [PATCH] storage/file: Call FileID::new() to build FileID object --- src/storage/file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/file.rs b/src/storage/file.rs index aca195c4..bf28103c 100644 --- a/src/storage/file.rs +++ b/src/storage/file.rs @@ -291,7 +291,7 @@ impl<'a> File<'a> { fn get_new_file_id() -> FileID { use uuid::Uuid; - Uuid::new_v4().to_hyphenated_string() + FileID::new(FileIDType::UUID, Uuid::new_v4().to_hyphenated_string()) } }