SI_DeviceGBA: Make GBASockServer's constructor explicit
Prevents potential implicit construction scenarios involving ints.
This commit is contained in:
1 parent
14f261079f
commit
9f40596de5
1 file changed
+1
-1
@@ -21,7 +21,7 @@ void GBAConnectionWaiter_Shutdown();
|
||||
class GBASockServer
|
||||
{
|
||||
public:
|
||||
GBASockServer(int _iDeviceNumber);
|
||||
explicit GBASockServer(int _iDeviceNumber);
|
||||
~GBASockServer();
|
||||
|
||||
void Disconnect();
|
||||
|
||||
Reference in new issue
Block a user