Skip to content

Commit 65b8f8b

Browse files
author
Julien Y. Dutheil
committed
Restore copy constructor on CodonAlphabet.
1 parent d6e6b35 commit 65b8f8b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Doxyfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: The Bio++ Development Group
2+
#
3+
# SPDX-License-Identifier: CECILL-2.1
4+
15
# Doxyfile 1.9.8
26

37
# This file describes the settings to be used by the documentation system

src/Bpp/Seq/Alphabet/CodonAlphabet.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class CodonAlphabet :
3030
public AbstractAlphabet
3131
{
3232
protected:
33-
const std::shared_ptr<const NucleicAlphabet> nAlph_;
33+
std::shared_ptr<const NucleicAlphabet> nAlph_; //Note: this cannot be const, otherwise copy-constructor cannot work.
3434

3535
public:
3636
// Constructor and destructor.

0 commit comments

Comments
 (0)