mirror of
https://github.com/mfontanini/libtins
synced 2026-01-22 18:25: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
|
||||
*/
|
||||
value_type operator*();
|
||||
PDU& operator*();
|
||||
|
||||
/**
|
||||
* Dereference and get the stored PDU
|
||||
*/
|
||||
const value_type operator*() const;
|
||||
const PDU& operator*() const;
|
||||
private:
|
||||
pointer pdu_;
|
||||
};
|
||||
|
||||
@@ -51,7 +51,7 @@ PDUIterator::value_type PDUIterator::operator*() {
|
||||
return *pdu_;
|
||||
}
|
||||
|
||||
const PDUIterator::value_type PDUIterator::operator*() const {
|
||||
const PDU& PDUIterator::operator*() const {
|
||||
return *pdu_;
|
||||
}
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
#endif
|
||||
#include <set>
|
||||
#include <fstream>
|
||||
#include <stdexcept>
|
||||
#include "network_interface.h"
|
||||
|
||||
using std::vector;
|
||||
@@ -62,6 +63,7 @@ using std::string;
|
||||
using std::set;
|
||||
using std::ifstream;
|
||||
using std::istream;
|
||||
using std::runtime_error;
|
||||
|
||||
namespace Tins {
|
||||
namespace Utils {
|
||||
|
||||
Reference in New Issue
Block a user