Skip to content

Commit

Permalink
Add linear pool iterator, use std:: prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
cfnptr committed Nov 4, 2024
1 parent 963cb09 commit 1af2d9a
Show file tree
Hide file tree
Showing 8 changed files with 221 additions and 130 deletions.
8 changes: 3 additions & 5 deletions include/ecsm-error.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,18 @@
namespace ecsm
{

using namespace std;

/**
* @brief ECSM error (exception) class.
*/
class EcsmError : public exception
class EcsmError : public std::exception
{
string message;
std::string message;
public:
/**
* @brief Creates a new ECSM error (exception) instance.
* @param message target error message
*/
EcsmError(const string& message) : message(message) { }
EcsmError(const std::string& message) : message(message) { }

/**
* @brief Returns ECSM error message C-string.
Expand Down
Loading

0 comments on commit 1af2d9a

Please sign in to comment.