Skip to content

Commit a3233c2

Browse files
authored
Merge pull request #365 from mikomikotaishi/master
Use old nested namespace declaration for C++11 compatibility
2 parents bbdaa56 + 518f8f1 commit a3233c2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

RtMidi.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@
8282
#include <string>
8383
#include <vector>
8484

85-
namespace rt::midi {
85+
namespace rt {
86+
namespace midi {
8687

8788
/************************************************************************/
8889
/*! \class RtMidiError
@@ -675,7 +676,8 @@ inline void RtMidiOut :: sendMessage( const std::vector<unsigned char> *message
675676
inline void RtMidiOut :: sendMessage( const unsigned char *message, size_t size ) { static_cast<MidiOutApi *>(rtapi_)->sendMessage( message, size ); }
676677
inline void RtMidiOut :: setErrorCallback( RtMidiErrorCallback errorCallback, void *userData ) { rtapi_->setErrorCallback(errorCallback, userData); }
677678

678-
}
679+
} // namespace midi
680+
} // namespace rt
679681

680682
#endif
681683

0 commit comments

Comments
 (0)