Added virtual desctructor to calm down GCC 4.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21021 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2007-05-04 16:59:23 +00:00
parent f30198a051
commit e5bc3cb9b4
2 changed files with 18 additions and 5 deletions
+3 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2006, Haiku, Inc. All Rights Reserved.
* Copyright 2002-2007, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _STATABLE_H
@@ -17,6 +17,8 @@ class BVolume;
class BStatable {
public:
virtual ~BStatable();
virtual status_t GetStat(struct stat *st) const = 0;
bool IsFile() const;