Skip to content

Commit

Permalink
[buteo-mtp] Fixup build with gcc8: Make sure the inotify_event's flex…
Browse files Browse the repository at this point in the history
…ible

 array is placed at the end of class. Contributes to JB#46923
  • Loading branch information
neochapay committed Oct 21, 2019
1 parent 90a11bb commit 5d92896
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions mts/platform/storage/fsstorageplugin/fsstorageplugin.h
Expand Up @@ -415,11 +415,6 @@ private slots:
QHash<MTPObjFormatCode, QString> m_imageMimeTable; ///< Maps the MTP object format code (for image types only) to MIME type string
QString m_mtpPersistentDBPath;
MtpInt128 m_largestPuoid;
struct INotifyCache
{
struct inotify_event fromEvent;
QString fromName;
}m_iNotifyCache; ///< A cache for iNotify events

struct ExistingPlaylists
{
Expand All @@ -445,6 +440,12 @@ private slots:
#endif

static SymLinkPolicy s_symLinkPolicy;

struct INotifyCache
{
QString fromName;
struct inotify_event fromEvent;
}m_iNotifyCache; ///< A cache for iNotify events
};
}

Expand Down

0 comments on commit 5d92896

Please sign in to comment.