Skip to content

Commit c4e15dc

Browse files
committed
Make methods more flexible.
1 parent 4fe334b commit c4e15dc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/common/fb_exception.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ void Exception::stuffException(DynamicStatusVector& status_vector) const noexcep
3434
}
3535
}
3636

37-
void Exception::stuffException(CheckStatusWrapper* status_vector) const noexcept
37+
void Exception::stuffException(IStatus* status_vector) const noexcept
3838
{
3939
StaticStatusVector status;
4040
stuffException(status);

src/common/utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,7 @@ void copyStatus(Firebird::CheckStatusWrapper* to, const Firebird::IStatus* from)
14051405
to->setWarnings(from->getWarnings());
14061406
}
14071407

1408-
void setIStatus(Firebird::CheckStatusWrapper* to, const ISC_STATUS* from) noexcept
1408+
void setIStatus(Firebird::IStatus* to, const ISC_STATUS* from) noexcept
14091409
{
14101410
try
14111411
{

src/common/utils_proto.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ namespace fb_utils
174174
const ISC_STATUS* const from, const unsigned int count) noexcept;
175175
void copyStatus(Firebird::CheckStatusWrapper* to, const Firebird::IStatus* from) noexcept;
176176
unsigned int mergeStatus(ISC_STATUS* const to, unsigned int space, const Firebird::IStatus* from) noexcept;
177-
void setIStatus(Firebird::CheckStatusWrapper* to, const ISC_STATUS* from) noexcept;
177+
void setIStatus(Firebird::IStatus* to, const ISC_STATUS* from) noexcept;
178178
unsigned int statusLength(const ISC_STATUS* const status) noexcept;
179179
unsigned int subStatus(const ISC_STATUS* in, unsigned int cin,
180180
const ISC_STATUS* sub, unsigned int csub) noexcept;

src/include/fb_exception.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class Exception
5858
}
5959

6060
void stuffException(DynamicStatusVector& status_vector) const noexcept;
61-
void stuffException(CheckStatusWrapper* status_vector) const noexcept;
61+
void stuffException(Firebird::IStatus* status_vector) const noexcept;
6262
virtual ~Exception() noexcept;
6363

6464
private:

0 commit comments

Comments
 (0)