mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Add missing stdexcept include in routing_utils.cpp
This commit is contained in:
@@ -162,12 +162,12 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Dereference and get the stored PDU
|
* Dereference and get the stored PDU
|
||||||
*/
|
*/
|
||||||
value_type operator*();
|
PDU& operator*();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dereference and get the stored PDU
|
* Dereference and get the stored PDU
|
||||||
*/
|
*/
|
||||||
const value_type operator*() const;
|
const PDU& operator*() const;
|
||||||
private:
|
private:
|
||||||
pointer pdu_;
|
pointer pdu_;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ PDUIterator::value_type PDUIterator::operator*() {
|
|||||||
return *pdu_;
|
return *pdu_;
|
||||||
}
|
}
|
||||||
|
|
||||||
const PDUIterator::value_type PDUIterator::operator*() const {
|
const PDU& PDUIterator::operator*() const {
|
||||||
return *pdu_;
|
return *pdu_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -55,6 +55,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
#include <stdexcept>
|
||||||
#include "network_interface.h"
|
#include "network_interface.h"
|
||||||
|
|
||||||
using std::vector;
|
using std::vector;
|
||||||
@@ -62,6 +63,7 @@ using std::string;
|
|||||||
using std::set;
|
using std::set;
|
||||||
using std::ifstream;
|
using std::ifstream;
|
||||||
using std::istream;
|
using std::istream;
|
||||||
|
using std::runtime_error;
|
||||||
|
|
||||||
namespace Tins {
|
namespace Tins {
|
||||||
namespace Utils {
|
namespace Utils {
|
||||||
|
|||||||
Reference in New Issue
Block a user