summaryrefslogtreecommitdiffstats
path: root/languages/java
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2021-02-28 00:15:56 +0000
committerSlávek Banko <[email protected]>2021-05-12 22:27:27 +0200
commitba5f58bf38a62eb83990951168951274c96a8e24 (patch)
tree6eee557d0117e4f5667cef37f9cc5acc5b084c21 /languages/java
parent34649195bfef57a2d3f4d34bcfbf2d4252dac465 (diff)
downloadtdevelop-ba5f58bf38a62eb83990951168951274c96a8e24.tar.gz
tdevelop-ba5f58bf38a62eb83990951168951274c96a8e24.zip
Fix ftbfs on Fedora 34
error: reference to ‘data’ is ambiguous Signed-off-by: François Andriot <[email protected]>
Diffstat (limited to 'languages/java')
-rw-r--r--languages/java/javasupportfactory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/java/javasupportfactory.cpp b/languages/java/javasupportfactory.cpp
index 94e435f2..299e283f 100644
--- a/languages/java/javasupportfactory.cpp
+++ b/languages/java/javasupportfactory.cpp
@@ -14,11 +14,11 @@
#include <kdevplugininfo.h>
#include "javasupportfactory.h"
-static const KDevPluginInfo data("kdevjavasupport");
+static const KDevPluginInfo pluginData("kdevjavasupport");
K_EXPORT_COMPONENT_FACTORY( libkdevjavasupport, JavaSupportFactory )
JavaSupportFactory::JavaSupportFactory()
- : KDevGenericFactory<JavaSupportPart>( data )
+ : KDevGenericFactory<JavaSupportPart>( pluginData )
{
}
@@ -34,6 +34,6 @@ TDEInstance *JavaSupportFactory::createInstance()
const KDevPluginInfo *JavaSupportFactory::info()
{
- return &data;
+ return &pluginData;
}