Skip to content

Commit

Permalink
Removed unnecessary header "mosquitto.h"
Browse files Browse the repository at this point in the history
  • Loading branch information
JGMonroy committed Apr 1, 2016
1 parent 2ea70ff commit 9ef122f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions MQTTMosquitto/CMQTTMosquitto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
*/

#include "CMQTTmosquitto.h"
#include "mosquitto.h"
#include "CMQTTMosquitto.h"
//#include "mosquitto.h"
#include <mosquittopp.h>
#include "Constants.h"

Expand Down Expand Up @@ -977,4 +977,4 @@ void CMQTTMosquitto::on_subscribe(uint16_t mid, int qos_count, const uint8_t *gr
void CMQTTMosquitto::on_publish(int *mid, const char *topic, int payloadlen, const void *payload)
{
int n= publish(mid,topic,payloadlen,payload);
}
}
4 changes: 2 additions & 2 deletions MQTTMosquitto/CMQTTMosquitto.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@

#include "Constants.h"
#include <COpenMORAMOOSApp.h>
#include <mosquitto.h>
//#include <mosquitto.h>
#include <mosquittopp.h>

using namespace std;
using namespace mosqpp;

class CMQTTMosquitto :public COpenMORAApp,mosquittopp
{
/** Class for storing an Hokuyo observation. */
/** Class for implementing a MQTT client withing OpenMORA. */

public:
CMQTTMosquitto();
Expand Down

0 comments on commit 9ef122f

Please sign in to comment.