Skip to content

Commit bd7b2a0

Browse files
committed
Misc adjustments to avoid warnings
1 parent 5302522 commit bd7b2a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/jrd/optimizer/Optimizer.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,9 @@ class Optimizer : public Firebird::PermanentStorage
309309
iter->flags = 0;
310310
}
311311

312+
// Assignment is not currently used in the code and I doubt it should be
313+
ConjunctIterator& operator=(const ConjunctIterator& other) = delete;
314+
312315
private:
313316
Conjunct* const begin;
314317
const Conjunct* const end;
@@ -320,7 +323,7 @@ class Optimizer : public Firebird::PermanentStorage
320323
rewind();
321324
}
322325

323-
explicit ConjunctIterator(const ConjunctIterator& other)
326+
ConjunctIterator(const ConjunctIterator& other)
324327
: begin(other.begin), end(other.end), iter(other.iter)
325328
{}
326329
};

0 commit comments

Comments
 (0)