From 3edc8be1aa4a61d669551a1db0e22559b37b5bea Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 2 Feb 2018 01:21:54 -0600 Subject: [PATCH] Remove debug code from FileStore --- deps/ox/src/ox/fs/filestore.hpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/deps/ox/src/ox/fs/filestore.hpp b/deps/ox/src/ox/fs/filestore.hpp index c31f703e..2ec0bcbe 100644 --- a/deps/ox/src/ox/fs/filestore.hpp +++ b/deps/ox/src/ox/fs/filestore.hpp @@ -10,10 +10,6 @@ #include -#include -using std::cout; -using std::endl; - namespace ox { template @@ -805,7 +801,6 @@ void *FileStore
::alloc(typename Header::FsSize_t size) { compact(); next = nextInodeAddr(); if ((next + size) > ptr(end())) { - cout << "alloc returning nullptr\n"; return nullptr; } } @@ -823,7 +818,6 @@ void *FileStore
::alloc(typename Header::FsSize_t size) { template void FileStore
::compact() { - cout << "FileStore::compact\n"; auto dest = ptr(firstInode()); auto current = ptr(firstInode()); while (current->getNext() > firstInode() && current->getNext() < ptr(end())) {