forked from qt-creator/qt-creator
ClangSupport: Add 2 missing exports
Fixes the following GCC warnings: In file included from .../clangpchmanagerbackend/clangpchmanagerbackendmain.cpp:26:0: .../clangsupport/clangpathwatcher.h: In instantiation of ‘class ClangBackEnd::ClangPathWatcher<QFileSystemWatcher, QTimer>’: .../clangpchmanagerbackend/clangpchmanagerbackendmain.cpp:114:78: required from here .../clangsupport/clangpathwatcher.h:80:7: warning: ‘ClangBackEnd::ClangPathWatcher<QFileSystemWatcher, QTimer>’ declared with greater visibility than the type of its field ‘ClangBackEnd::ClangPathWatcher<QFileSystemWatcher, QTimer>::m_idCache’ [-Wattributes] class ClangPathWatcher : public ClangPathWatcherInterface ^~~~~~~~~~~~~~~~ Change-Id: I8c6bc30e80da50b631d272ff7c2120cf706548aa Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
a26fecf851
commit
351f355b69
@@ -77,7 +77,7 @@ using IdCache = StringCache<Utils::SmallString,
|
|||||||
|
|
||||||
template <typename FileSystemWatcher,
|
template <typename FileSystemWatcher,
|
||||||
typename Timer>
|
typename Timer>
|
||||||
class ClangPathWatcher : public ClangPathWatcherInterface
|
class CLANGSUPPORT_EXPORT ClangPathWatcher : public ClangPathWatcherInterface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ClangPathWatcher(FilePathCachingInterface &pathCache,
|
ClangPathWatcher(FilePathCachingInterface &pathCache,
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
namespace ClangBackEnd {
|
namespace ClangBackEnd {
|
||||||
|
|
||||||
template <typename FilePathStorage>
|
template <typename FilePathStorage>
|
||||||
class FilePathCache
|
class CLANGSUPPORT_EXPORT FilePathCache
|
||||||
{
|
{
|
||||||
using DirectoryPathCache = StringCache<Utils::PathString,
|
using DirectoryPathCache = StringCache<Utils::PathString,
|
||||||
int,
|
int,
|
||||||
|
Reference in New Issue
Block a user