Skip to content

Commit

Permalink
Merge pull request #27 from rednexela1941/master
Browse files Browse the repository at this point in the history
Include <stdexcept> in headers to prevent compilation errors.
  • Loading branch information
jadamroth authored Jul 5, 2020
2 parents adc7c58 + bdb00f7 commit 5e83aa7
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/FileObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#ifndef EIPSCANNER_FILEOBJECT_H
#define EIPSCANNER_FILEOBJECT_H

#include <stdexcept>

#include "cip/Types.h"
#include "cip/GeneralStatusCodes.h"
Expand Down
1 change: 1 addition & 0 deletions src/ParameterObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#define EIPSCANNER_PARAMETEROBJECT_H

#include <cmath>
#include <stdexcept>
#include "MessageRouter.h"
#include "utils/Buffer.h"
#include "BaseObject.h"
Expand Down
1 change: 1 addition & 0 deletions src/SessionInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <string>
#include <vector>
#include <memory>
#include <stdexcept>

#include "SessionInfoIf.h"
#include "sockets/TCPSocket.h"
Expand Down
2 changes: 2 additions & 0 deletions src/fileObject/FileObjectUploadInProgressState.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#ifndef EIPSCANNER_FILEOBJECT_FILEOBJECTUPLOADINPROGRESSSTATE_H
#define EIPSCANNER_FILEOBJECT_FILEOBJECTUPLOADINPROGRESSSTATE_H

#include <stdexcept>

#include "FileObjectState.h"
#include "cip/Types.h"

Expand Down
1 change: 1 addition & 0 deletions src/vendor/ra/powerFlex525/DPIFaultCode.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#ifndef EIPSCANNER_DPIFAULTCODES_HPP
#define EIPSCANNER_DPIFAULTCODES_HPP

#include <stdexcept>
#include <unordered_map>
#include <string>

Expand Down
2 changes: 2 additions & 0 deletions src/vendor/ra/powerFlex525/DPIFaultObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
// Created by Aleksey Timin on 12/11/19.
//


#include "DPIFaultObject.h"
#include "utils/Buffer.h"


namespace eipScanner {
namespace vendor {
namespace ra {
Expand Down
2 changes: 2 additions & 0 deletions src/vendor/ra/powerFlex525/DPIFaultObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#ifndef EIPSCANNER_VENDOR_DIPFAULTOBJECT_H
#define EIPSCANNER_VENDOR_DIPFAULTOBJECT_H

#include <stdexcept>

#include "cip/CipString.h"
#include "BaseObject.h"
#include "SessionInfoIf.h"
Expand Down

0 comments on commit 5e83aa7

Please sign in to comment.