Parcourir la source

Fixed warning where a Mutex passed to GBUdbRecordLockingShim() by value should have been passed by reference. (reference to stack allocated object)

Bumped minor revision on the engine -- now 3.1.2.

git-svn-id: https://svn.microneil.com/svn/SNFMulti/trunk@56 dc71a809-1921-45c4-985c-09c81d0142d9
wx
madscientist il y a 10 ans
Parent
révision
1a4398f375
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1
    1
      GBUdb.cpp
  2. 1
    1
      SNFMulti.cpp

+ 1
- 1
GBUdb.cpp Voir le fichier

@@ -639,7 +639,7 @@ class GBUdbRecordLockingShim : public GBUdbOperator {

public:

GBUdbRecordLockingShim(GBUdbOperator& O, Mutex M) : // On construction we grab our critical pieces.
GBUdbRecordLockingShim(GBUdbOperator& O, Mutex& M) : // On construction we grab our critical pieces.
MyOperator(O),
MyMutex(M) {
}

+ 1
- 1
SNFMulti.cpp Voir le fichier

@@ -25,7 +25,7 @@ using namespace std;

//// Version Info

const char* SNF_ENGINE_VERSION = "SNFMulti Engine Version 3.1.1 Build: " __DATE__ " " __TIME__;
const char* SNF_ENGINE_VERSION = "SNFMulti Engine Version 3.1.2 Build: " __DATE__ " " __TIME__;

//// Script Caller Methods


Chargement…
Annuler
Enregistrer