mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
It is not sufficient with a forward declaration of QString here. Since the vector is created in PdmFieldCapability::attributes() the size of QString must be known at that point. closes #10950
20 lines
383 B
C++
20 lines
383 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include <QString>
|
|
|
|
namespace caf
|
|
{
|
|
class PdmFieldCapability
|
|
{
|
|
public:
|
|
PdmFieldCapability() {}
|
|
virtual ~PdmFieldCapability() {}
|
|
|
|
virtual std::vector<std::pair<QString, QString>> attributes() const { return {}; }
|
|
virtual void setAttributes( const std::vector<std::pair<QString, QString>>& attributes ) {}
|
|
};
|
|
|
|
} // End of namespace caf
|