Skip to content

Commit 00f8b97

Browse files
authored
Merge pull request tensorflow#14389 from cthom055/master
Forward declare condition_variable, fix for tensorflow#14388
2 parents 9713156 + 5de6f68 commit 00f8b97

File tree

1 file changed

+2
-0
lines changed
  • tensorflow/core/platform/default

1 file changed

+2
-0
lines changed

tensorflow/core/platform/default/mutex.h

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ namespace tensorflow {
3131

3232
enum LinkerInitialized { LINKER_INITIALIZED };
3333

34+
class condition_variable;
35+
3436
// Mimic std::mutex + C++17's shared_mutex, adding a LinkerInitialized
3537
// constructor interface. This type is as fast as mutex, but is also a shared
3638
// lock.

0 commit comments

Comments
 (0)