Ticket #10325: 0003-BPlusTree.h-Remove-invalid-forward-declaration.patch

File 0003-BPlusTree.h-Remove-invalid-forward-declaration.patch, 872 bytes (added by js, 7 years ago)
  • src/add-ons/kernel/file_systems/bfs/BPlusTree.h

    From c69df33091182cdadd7cefbc3865e00fc6e421d5 Mon Sep 17 00:00:00 2001
    From: Jonathan Schleifer <js@webkeks.org>
    Date: Tue, 17 Dec 2013 18:17:32 +0100
    Subject: [PATCH 3/6] BPlusTree.h: Remove invalid forward declaration.
    
    That forward declaration was actually a backward declaration, as
    system_dependencies.h already included Stack.
    ---
     src/add-ons/kernel/file_systems/bfs/BPlusTree.h | 2 --
     1 file changed, 2 deletions(-)
    
    diff --git a/src/add-ons/kernel/file_systems/bfs/BPlusTree.h b/src/add-ons/kernel/file_systems/bfs/BPlusTree.h
    index cfc4aac..95bc7bb 100644
    a b class TreeIterator;  
    152152
    153153
    154154#if !_BOOT_MODE
    155 template<class T> class Stack;
    156 
    157155// needed for searching (utilizing a stack)
    158156struct node_and_key {
    159157    off_t   nodeOffset;