Skip to content

Commit

Permalink
IOS: Adds a warning regarding the usage of the ChRootFS class
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Bénony committed Jan 6, 2016
1 parent cbde1ef commit 793acc0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions backends/fs/chroot/chroot-fs-factory.h
Expand Up @@ -20,8 +20,12 @@
*
*/

#ifndef CHROOT_FS_FACTORY_H
#define CHROOT_FS_FACTORY_H
/*
* FIXME: Warning, using this factory in your backend may silently breaks some features. Instances are, for example, the FluidSynth code, and the POSIX plugin code.
*/

#ifndef BACKENDS_FS_CHROOT_CHROOT_FS_FACTORY_H
#define BACKENDS_FS_CHROOT_CHROOT_FS_FACTORY_H

#include "backends/fs/fs-factory.h"

Expand All @@ -38,4 +42,4 @@ class ChRootFilesystemFactory : public FilesystemFactory {
ChRootFilesystemFactory(Common::String root);
};

#endif /* CHROOT_FS_FACTORY_H */
#endif /* BACKENDS_FS_CHROOT_CHROOT_FS_FACTORY_H */

0 comments on commit 793acc0

Please sign in to comment.