diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-05-06 16:33:10 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-05-06 16:33:10 +0200 |
commit | 286cddccfd9d69f4bc567fc9f00898f06315cd30 (patch) | |
tree | 22ea704d16653483a972d8b16e0c8724c3d28828 /plugingui | |
parent | a1f4e968563763435027a905be8349cda1974e00 (diff) |
Get rid of unused unistd includes. Change the rest of the sleep calls to c++.
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/directory.cc | 4 | ||||
-rw-r--r-- | plugingui/directory.h | 1 | ||||
-rw-r--r-- | plugingui/filebrowser.cc | 1 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/directory.cc b/plugingui/directory.cc index 96ed5b7..083c8e4 100644 --- a/plugingui/directory.cc +++ b/plugingui/directory.cc @@ -32,6 +32,7 @@ #include <algorithm> #include <vector> #include <string.h> +#include <unistd.h> #include <platform.h> @@ -51,7 +52,8 @@ #define SEP "/" #endif -namespace GUI { +namespace GUI +{ Directory::Directory(std::string path) { diff --git a/plugingui/directory.h b/plugingui/directory.h index 1acc0bf..100204a 100644 --- a/plugingui/directory.h +++ b/plugingui/directory.h @@ -33,7 +33,6 @@ #include <sys/types.h> #include <sys/stat.h> -#include <unistd.h> #define DIRECTORY_HIDDEN 1 diff --git a/plugingui/filebrowser.cc b/plugingui/filebrowser.cc index 62f7775..8854f6e 100644 --- a/plugingui/filebrowser.cc +++ b/plugingui/filebrowser.cc @@ -37,7 +37,6 @@ #include <sys/types.h> #include <sys/stat.h> -#include <unistd.h> #include <platform.h> #include <hugin.hpp> |