1
0
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:
Matias Fontanini
2017-04-30 20:09:47 -07:00
parent b2173ffb86
commit 01475679d1
3 changed files with 5 additions and 3 deletions

View File

@@ -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_;
};

View File

@@ -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_;
}

View File

@@ -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 {