mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-08-01 22:17:07 +01:00
Function classes: default function replaced by nullptr
This commit is contained in:
@@ -39,7 +39,7 @@ private:
|
||||
public:
|
||||
// constructor
|
||||
explicit DoubleFunction(const Index nArg = 0,
|
||||
const vecFunc &f = nullFunction_);
|
||||
const vecFunc &f = nullptr);
|
||||
// destructor
|
||||
virtual ~DoubleFunction(void) = default;
|
||||
// access
|
||||
@@ -59,7 +59,6 @@ private:
|
||||
private:
|
||||
std::shared_ptr<DVec> buffer_{nullptr};
|
||||
vecFunc f_;
|
||||
static const vecFunc nullFunction_;
|
||||
};
|
||||
|
||||
template <typename... Ts>
|
||||
|
Reference in New Issue
Block a user